[INFO] cloning repository https://github.com/crll9/smartContracts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crll9/smartContracts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrll9%2FsmartContracts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrll9%2FsmartContracts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11b2c76e1604ea4c9b80a0c7da8ce93cf297461a [INFO] testing crll9/smartContracts against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrll9%2FsmartContracts" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/crll9/smartContracts [INFO] finished tweaking git repo https://github.com/crll9/smartContracts [INFO] tweaked toml for git repo https://github.com/crll9/smartContracts written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crll9/smartContracts on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/crll9/smartContracts already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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-4-tc1/source/packages/terraswap/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 [INFO] [stderr] Adding astroport v1.2.0 (available: v5.9.0) [INFO] [stderr] Adding base16ct v0.2.0 [INFO] [stderr] Adding base64 v0.21.7 [INFO] [stderr] Adding base64ct v1.8.0 [INFO] [stderr] Adding bech32 v0.9.1 [INFO] [stderr] Updating block-buffer v0.7.3 -> v0.10.4 [INFO] [stderr] Adding bnum v0.10.0 [INFO] [stderr] Adding const-oid v0.9.6 [INFO] [stderr] Adding cosmwasm-crypto v1.5.11 [INFO] [stderr] Adding cosmwasm-derive v1.5.11 [INFO] [stderr] Adding cosmwasm-std v1.5.11 [INFO] [stderr] Adding crypto-bigint v0.5.5 [INFO] [stderr] Adding crypto-common v0.1.6 [INFO] [stderr] Updating cw-storage-plus v0.8.1 -> v0.13.4 [INFO] [stderr] Adding cw-utils v0.13.4 [INFO] [stderr] Adding cw20 v0.8.1 (available: v2.0.0) [INFO] [stderr] Adding cw20 v0.13.4 [INFO] [stderr] Adding der v0.7.10 [INFO] [stderr] Updating digest v0.8.1 -> v0.10.7 [INFO] [stderr] Adding ecdsa v0.16.9 [INFO] [stderr] Adding ed25519-zebra v3.1.0 [INFO] [stderr] Adding elliptic-curve v0.10.4 (available: v0.10.6) [INFO] [stderr] Adding elliptic-curve v0.13.8 [INFO] [stderr] Adding ff v0.13.1 [INFO] [stderr] Adding forward_ref v1.0.0 [INFO] [stderr] Adding generic-array v0.14.7 [INFO] [stderr] Adding group v0.13.0 [INFO] [stderr] Adding hashbrown v0.12.3 [INFO] [stderr] Adding hmac v0.12.1 [INFO] [stderr] Adding k256 v0.9.5 (available: v0.9.6) [INFO] [stderr] Adding k256 v0.13.4 [INFO] [stderr] Adding once_cell v1.21.3 [INFO] [stderr] Adding pkcs8 v0.10.2 [INFO] [stderr] Updating rand_core v0.6.3 -> v0.6.4 [INFO] [stderr] Adding rfc6979 v0.4.0 [INFO] [stderr] Adding sec1 v0.7.3 [INFO] [stderr] Adding serde-json-wasm v0.5.2 [INFO] [stderr] Updating sha2 v0.8.2 -> v0.10.9 [INFO] [stderr] Adding signature v2.2.0 [INFO] [stderr] Adding spki v0.7.3 [INFO] [stderr] Adding terra-cosmwasm v2.2.0 [INFO] [stderr] Updating thiserror v1.0.28 -> v1.0.39 (available: v1.0.69) [INFO] [stderr] Updating thiserror-impl v1.0.28 -> v1.0.39 (available: v1.0.69) [INFO] [stderr] Updating typenum v1.13.0 -> v1.18.0 [INFO] [stderr] Updating zeroize v1.4.1 -> v1.8.1 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cosmwasm-schema v0.16.1 [INFO] [stderr] Downloaded astroport v1.2.0 [INFO] [stderr] Downloaded cw20 v0.13.4 [INFO] [stderr] Downloaded cosmwasm-storage v0.16.1 [INFO] [stderr] Downloaded cosmwasm-crypto v0.16.1 [INFO] [stderr] Downloaded serde-json-wasm v0.3.1 [INFO] [stderr] Downloaded sha2 v0.9.6 [INFO] [stderr] Downloaded cosmwasm-std v0.16.1 [INFO] [stderr] Downloaded cosmwasm-derive v0.16.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92601ed56d65340d482b6cbb754659f7681a1524a28062cf678a1d11d66321d2 [INFO] running `Command { std: "docker" "start" "-a" "92601ed56d65340d482b6cbb754659f7681a1524a28062cf678a1d11d66321d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92601ed56d65340d482b6cbb754659f7681a1524a28062cf678a1d11d66321d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92601ed56d65340d482b6cbb754659f7681a1524a28062cf678a1d11d66321d2", kill_on_drop: false }` [INFO] [stdout] 92601ed56d65340d482b6cbb754659f7681a1524a28062cf678a1d11d66321d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e12356499bfeb63d2dfcbddcbf759b8dbe6ddc8adb57e50e69624d6b801e0e06 [INFO] running `Command { std: "docker" "start" "-a" "e12356499bfeb63d2dfcbddcbf759b8dbe6ddc8adb57e50e69624d6b801e0e06", 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/packages/terraswap/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profile package spec `cw1-subkeys` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw1-whitelist` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw1155-base` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-atomic-swap` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-bonding` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-escrow` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-ics20` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-merkle-airdrop` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-staking` in profile `release` did not match any packages [INFO] [stderr] [INFO] [stderr] help: a package with a similar name exists: `club-staking` [INFO] [stderr] warning: profile package spec `cw3-fixed-multisig` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw3-flex-multisig` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw4-group` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw4-stake` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw721-base` in profile `release` did not match any packages [INFO] [stderr] [INFO] [stderr] help: a package with a similar name exists: `cw20-base` [INFO] [stderr] warning: profile package spec `cw721-metadata-uri` in profile `release` did not match any packages [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling const-oid v0.6.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bnum v0.10.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling der v0.4.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling spki v0.4.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.7.5 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.9.6 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling crypto-bigint v0.2.4 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling elliptic-curve v0.10.4 [INFO] [stderr] Compiling ecdsa v0.12.4 [INFO] [stderr] Compiling k256 v0.9.5 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling cosmwasm-derive v0.16.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-derive v1.5.11 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling serde-json-wasm v0.3.1 [INFO] [stderr] Compiling ed25519-zebra v3.1.0 [INFO] [stderr] Compiling serde-json-wasm v0.5.2 [INFO] [stderr] Compiling cosmwasm-crypto v1.5.11 [INFO] [stderr] Compiling cosmwasm-crypto v0.16.1 [INFO] [stderr] Compiling cosmwasm-std v0.16.1 [INFO] [stderr] Compiling cosmwasm-std v1.5.11 [INFO] [stderr] Compiling cw0 v0.9.1 (/opt/rustwide/workdir/packages/cw0) [INFO] [stderr] Compiling cw-storage-plus v0.9.1 (/opt/rustwide/workdir/packages/storage-plus) [INFO] [stderr] Compiling cw0 v0.8.1 [INFO] [stderr] Compiling cosmwasm-storage v0.16.1 [INFO] [stderr] Compiling terra-cosmwasm v2.2.0 [INFO] [stderr] Compiling cw1 v0.9.1 (/opt/rustwide/workdir/packages/cw1) [INFO] [stderr] Compiling cw20 v0.9.1 (/opt/rustwide/workdir/packages/cw20) [INFO] [stderr] Compiling cw1155 v0.9.1 (/opt/rustwide/workdir/packages/cw1155) [INFO] [stderr] Compiling cw3 v0.9.1 (/opt/rustwide/workdir/packages/cw3) [INFO] [stderr] Compiling cw721 v0.9.1 (/opt/rustwide/workdir/packages/cw721) [INFO] [stderr] Compiling cw20 v0.8.1 [INFO] [stderr] Compiling cw2 v0.9.1 (/opt/rustwide/workdir/packages/cw2) [INFO] [stderr] Compiling cw-multi-test v0.9.1 (/opt/rustwide/workdir/packages/multi-test) [INFO] [stderr] Compiling cw-controllers v0.9.1 (/opt/rustwide/workdir/packages/controllers) [INFO] [stderr] Compiling cw4 v0.9.1 (/opt/rustwide/workdir/packages/cw4) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> packages/multi-test/src/app.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn wrap(&self) -> QuerierWrapper { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 186 | pub fn wrap(&self) -> QuerierWrapper<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> packages/multi-test/src/wasm.rs:678:21 [INFO] [stdout] | [INFO] [stdout] 678 | api: api.deref(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Api` does not implement `Deref`, so calling `deref` on `&dyn Api` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> packages/multi-test/src/wasm.rs:713:25 [INFO] [stdout] | [INFO] [stdout] 713 | api: api.deref(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Api` does not implement `Deref`, so calling `deref` on `&dyn Api` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling terraswap v2.4.1 (/opt/rustwide/workdir/packages/terraswap) [INFO] [stderr] Compiling cw20-base v0.9.1 (/opt/rustwide/workdir/contracts/cw20-base) [INFO] [stderr] Compiling vest-n-distribute v0.9.1 (/opt/rustwide/workdir/contracts/vest-n-distribute) [INFO] [stderr] Compiling crll-airdrop v0.9.1 (/opt/rustwide/workdir/contracts/crll-airdrop) [INFO] [stderr] Compiling cw-utils v0.13.4 [INFO] [stderr] Compiling cw-storage-plus v0.13.4 [INFO] [stdout] warning: unused imports: `RESTRICTED_CONTRACT_LIST`, `RESTRICTED_TIMESTAMP`, and `RESTRICTED_WALLET_LIST` [INFO] [stdout] --> contracts/cw20-base/src/allowances.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::state::{ALLOWANCES, BALANCES, TOKEN_INFO, RESTRICTED_TIMESTAMP, RESTRICTED_WALLET_LIST, RESTRICTED_CONTRACT_LIST}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WasmMsg` and `attr` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | attr, to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Order, Response, StdError, StdResult, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Storage, Uint128, WasmMsg, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllowanceResponse`, `BalanceResponse`, `Cw20Coin`, `Cw20ExecuteMsg`, `Cw20ReceiveMsg`, and `Expiration` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | AllowanceResponse, BalanceResponse, Cw20Coin, Cw20ExecuteMsg, Cw20ReceiveMsg, Expiration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `deduct_allowance` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | deduct_allowance, execute_burn_from, execute_decrease_allowance, execute_increase_allowance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AIRDROP_CONTRACT_WALLET` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | AIRDROP_CONTRACT_WALLET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AllAccountsResponse` [INFO] [stdout] --> contracts/crll-airdrop/src/enumerable.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use cw20::{AllAccountsResponse, AllAllowancesResponse, AllowanceInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timestamp` [INFO] [stdout] --> contracts/crll-airdrop/src/state.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{Addr, Timestamp, Uint128}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(some) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_some` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `seconds_lapsed` is never read [INFO] [stdout] --> contracts/vest-n-distribute/src/execute.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let mut seconds_lapsed = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MinterData` is never constructed [INFO] [stdout] --> contracts/vest-n-distribute/src/state.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MinterData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenInfo` is never constructed [INFO] [stdout] --> contracts/vest-n-distribute/src/state.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TokenInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_balance` is never used [INFO] [stdout] --> contracts/vest-n-distribute/src/query.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn query_balance(deps: Deps, address: String) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | let mut config = TOKEN_INFO.load(deps.storage)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | let mut config = TOKEN_INFO.load(deps.storage)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | let mut config = TOKEN_INFO.load(deps.storage)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cw20 v0.13.4 [INFO] [stdout] warning: unused variable: `lock_status` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | |lock_status: Option| -> StdResult<_> { Ok(Uint128::from(LOCKED)) }, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock_status` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | |lock_status: Option| -> StdResult<_> { Ok(Uint128::from(UNLOCKED)) }, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `luna_details` is assigned to, but never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let luna_details; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_luna_details` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `luna_details` is never read [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | luna_details = od; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | 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/crll-airdrop/src/contract.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `luna_airdrop_reward_amount` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | luna_airdrop_reward_amount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_luna_airdrop_reward_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activity_eligible_reward_amount` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:360:21 [INFO] [stdout] | [INFO] [stdout] 360 | let mut activity_eligible_reward_amount = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activity_eligible_reward_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | 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/crll-airdrop/src/contract.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | let mut activity_eligible_reward_amount = Uint128::zero(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:417:16 [INFO] [stdout] | [INFO] [stdout] 417 | Ok(user) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/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: `info` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 403 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activity_eligible_reward_amount` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:510:17 [INFO] [stdout] | [INFO] [stdout] 510 | let mut activity_eligible_reward_amount = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activity_eligible_reward_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | 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/crll-airdrop/src/contract.rs:486:5 [INFO] [stdout] | [INFO] [stdout] 486 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:510:13 [INFO] [stdout] | [INFO] [stdout] 510 | let mut activity_eligible_reward_amount = Uint128::zero(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | 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/crll-airdrop/src/contract.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | 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/crll-airdrop/src/contract.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | 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/crll-airdrop/src/contract.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:617:5 [INFO] [stdout] | [INFO] [stdout] 617 | 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/crll-airdrop/src/contract.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | 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/crll-airdrop/src/contract.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | 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/crll-airdrop/src/contract.rs:712:5 [INFO] [stdout] | [INFO] [stdout] 712 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_after` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | start_after, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_after: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:763:13 [INFO] [stdout] | [INFO] [stdout] 763 | limit, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `limit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAIN_WALLET` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const MAIN_WALLET: &str = "terra1t3czdl5h4w4qwgkzs80fdstj0z7rfv9v2j6uh3"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_OF_USER_ACTIVITIES` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const NUM_OF_USER_ACTIVITIES: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOCKED` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | const LOCKED: u128 = 1u128; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNLOCKED` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const UNLOCKED: u128 = 0u128; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_contract_lock_status` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn get_contract_lock_status ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_contract_lock_status` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn set_contract_lock_status ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_luna_user_details` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn create_luna_user_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_luna_user_list_details` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn update_luna_user_list_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_luna_user_details` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:483:4 [INFO] [stdout] | [INFO] [stdout] 483 | fn update_luna_user_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_activity` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:550:4 [INFO] [stdout] | [INFO] [stdout] 550 | fn create_activity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_activity_eligibility_reward_amount` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:579:4 [INFO] [stdout] | [INFO] [stdout] 579 | fn update_activity_eligibility_reward_amount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_user_activity` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:615:4 [INFO] [stdout] | [INFO] [stdout] 615 | fn update_user_activity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_qualified_flag_for_all_luna_users_and_non_exempt_activities` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:709:4 [INFO] [stdout] | [INFO] [stdout] 709 | fn clear_qualified_flag_for_all_luna_users_and_non_exempt_activities( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_all_activities` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:783:4 [INFO] [stdout] | [INFO] [stdout] 783 | fn query_all_activities(storage: &dyn Storage) -> StdResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_all_user_activities` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:798:4 [INFO] [stdout] | [INFO] [stdout] 798 | fn query_all_user_activities(storage: &dyn Storage) -> StdResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling astroport v1.2.0 [INFO] [stderr] Compiling club-staking v0.9.1 (/opt/rustwide/workdir/contracts/club-staking) [INFO] [stderr] Compiling gaming-pool v0.9.1 (/opt/rustwide/workdir/contracts/gaming-pool) [INFO] [stdout] warning: unused import: `cw_storage_plus::Map` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cw_storage_plus::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coin` [INFO] [stdout] --> contracts/club-staking/src/msg.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{Coin, Timestamp}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ReceiveMsg` [INFO] [stdout] --> contracts/club-staking/src/msg.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cw20::Cw20ReceiveMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `get_fury_equivalent_to_ust` should have an upper camel case name [INFO] [stdout] --> contracts/club-staking/src/msg.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | get_fury_equivalent_to_ust { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetFuryEquivalentToUst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `get_ust_equivalent_to_fury` should have an upper camel case name [INFO] [stdout] --> contracts/club-staking/src/msg.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | get_ust_equivalent_to_fury { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetUstEquivalentToFury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div` and `Mul` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::_serde_json::ser::State` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use schemars::_serde_json::ser::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_team_details` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | save_team_details, set_platform_fee_wallets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cw20ReceiveMsg` [INFO] [stdout] --> contracts/gaming-pool/src/msg.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use cw20::{Cw20ReceiveMsg, Logo}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ContractError` [INFO] [stdout] --> contracts/gaming-pool/src/msg.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ContractError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SwapBalanceDetails` [INFO] [stdout] --> contracts/gaming-pool/src/msg.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::state::{GameResult, SwapBalanceDetails, WalletPercentage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `get_fury_equivalent_to_ust` should have an upper camel case name [INFO] [stdout] --> contracts/gaming-pool/src/msg.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | get_fury_equivalent_to_ust { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetFuryEquivalentToUst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `get_ust_equivalent_to_fury` should have an upper camel case name [INFO] [stdout] --> contracts/gaming-pool/src/msg.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | get_ust_equivalent_to_fury { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetUstEquivalentToFury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div` and `Mul` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr` and `from_binary` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use cosmwasm_std::{Addr, BankMsg, Coin, CosmosMsg, Decimal, DepsMut, Env, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | from_binary, MessageInfo, Order, Response, StdError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cw20ReceiveMsg` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, Cw20ReceiveMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CLAIMED_REFUND` and `CLAIMED_REWARD` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::contract::{CLAIMED_REFUND, CLAIMED_REWARD, DUMMY_WALLET, GAME_CANCELLED, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReceivedMsg` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:19:71 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::msg::{BalanceResponse, ProxyQueryMsgs, QueryMsgSimulation, ReceivedMsg}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_team_count_for_user_in_pool_type`, `query_pool_type_details`, and `query_swap_data_for_pool` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::query::{get_team_count_for_user_in_pool_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | query_pool_details, query_pool_type_details, query_swap_data_for_pool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/club-staking/src/contract.rs:395:11 [INFO] [stdout] | [INFO] [stdout] 395 | * (Uint128::from(NINETY_NINE_NINE_PERCENT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found `Uint128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/club-staking/src/contract.rs:826:11 [INFO] [stdout] | [INFO] [stdout] 826 | * (Uint128::from(NINETY_NINE_NINE_PERCENT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found `Uint128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1029:11 [INFO] [stdout] | [INFO] [stdout] 1029 | * (Uint128::from(NINETY_NINE_NINE_PERCENT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found `Uint128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1459:11 [INFO] [stdout] | [INFO] [stdout] 1459 | * (Uint128::from(NINETY_NINE_NINE_PERCENT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found `Uint128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn migrate(deps: DepsMut, _env: Env, msg: MigrateMsg) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:178:42 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn migrate(deps: DepsMut, _env: Env, msg: MigrateMsg) -> Result { [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/club-staking/src/contract.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | mut deps: DepsMut, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | 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/club-staking/src/contract.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | mut deps: DepsMut, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous_owners_reward_amount` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:611:13 [INFO] [stdout] | [INFO] [stdout] 611 | let mut previous_owners_reward_amount = Uint128::from(0u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | let mut current_time = env.block.time; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:617:17 [INFO] [stdout] | [INFO] [stdout] 617 | let mut release_start_time = owner.start_timestamp; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | let mut release_locking_duration = owner.locking_period; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:719:14 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn reply(deps: DepsMut, env: Env, reply: Reply) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:719:29 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn reply(deps: DepsMut, env: Env, reply: Reply) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:920:13 [INFO] [stdout] | [INFO] [stdout] 920 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:931:9 [INFO] [stdout] | [INFO] [stdout] 931 | let owner = ownership_details.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:935:13 [INFO] [stdout] | [INFO] [stdout] 935 | let mut staker = stake.staker_address.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:936:13 [INFO] [stdout] | [INFO] [stdout] 936 | let mut amount = stake.staked_amount; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:937:13 [INFO] [stdout] | [INFO] [stdout] 937 | let mut auto_stake = stake.auto_stake; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1407:5 [INFO] [stdout] | [INFO] [stdout] 1407 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reward_from` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1409:5 [INFO] [stdout] | [INFO] [stdout] 1409 | reward_from: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `owner_reward` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1622:13 [INFO] [stdout] | [INFO] [stdout] 1622 | let mut owner_reward = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1592:9 [INFO] [stdout] | [INFO] [stdout] 1592 | let mut winning_clubs_info: WinningClubDetails; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1686:21 [INFO] [stdout] | [INFO] [stdout] 1686 | for mut stake in staking_details { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bonds` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2175:13 [INFO] [stdout] | [INFO] [stdout] 2175 | let mut bonds: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:420:21 [INFO] [stdout] | [INFO] [stdout] 420 | amount: info.funds[0].amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::math::uint128::Uint128`, found `Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.1/src/math/uint128.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.5.11/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/msg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use astroport::asset::Asset; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/allowances.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:427:29 [INFO] [stdout] | [INFO] [stdout] 427 | amount: fund[0].amount, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `cosmwasm_std::math::uint128::Uint128`, found `Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.1/src/math/uint128.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.5.11/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/msg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use astroport::asset::Asset; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/allowances.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:452:11 [INFO] [stdout] | [INFO] [stdout] 452 | * (Uint128::from(NINETY_NINE_NINE_PERCENT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found `Uint128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:549:28 [INFO] [stdout] | [INFO] [stdout] 549 | contract_addr: config.clone().minting_contract_address.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.1/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `Addr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.5.11/src/addresses.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::addresses::Addr` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/msg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use astroport::asset::Asset; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/allowances.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | amount, [INFO] [stdout] | ^^^^^^ expected `cosmwasm_std::math::uint128::Uint128`, found `Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.1/src/math/uint128.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.5.11/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/msg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use astroport::asset::Asset; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/allowances.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:556:21 [INFO] [stdout] | [INFO] [stdout] 556 | max_spread: max_spread, [INFO] [stdout] | ^^^^^^^^^^ expected `cosmwasm_std::math::decimal::Decimal`, found `Decimal` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.1/src/math/decimal.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Decimal(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `Decimal` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.5.11/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/msg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use astroport::asset::Asset; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/allowances.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:816:17 [INFO] [stdout] | [INFO] [stdout] 816 | amount: total_refund_amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::math::uint128::Uint128`, found `Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.1/src/math/uint128.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.5.11/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/msg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use astroport::asset::Asset; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/allowances.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:818:37 [INFO] [stdout] | [INFO] [stdout] 818 | let tax = ust_asset.compute_tax(&deps.querier)?; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ expected `cosmwasm_std::traits::QuerierWrapper<'_>`, found `QuerierWrapper<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.1/src/traits.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct QuerierWrapper<'a>(&'a dyn Querier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `QuerierWrapper` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.5.11/src/traits.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct QuerierWrapper<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::traits::QuerierWrapper` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/msg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use astroport::asset::Asset; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/allowances.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/astroport-1.2.0/src/asset.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn compute_tax(&self, _querier: &QuerierWrapper) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::ContractError` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:818:51 [INFO] [stdout] | [INFO] [stdout] 745 | ) -> Result { [INFO] [stdout] | ------------------------------- expected `error::ContractError` because of this [INFO] [stdout] ... [INFO] [stdout] 818 | let tax = ust_asset.compute_tax(&deps.querier)?; [INFO] [stdout] | --------------------------^ the trait `From` is not implemented for `error::ContractError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, cosmwasm_std::errors::std_error::StdError>` [INFO] [stdout] | [INFO] [stdout] note: `error::ContractError` needs to implement `From` [INFO] [stdout] --> contracts/gaming-pool/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ContractError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `error::ContractError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `cosmwasm_std::StdError`, found `cosmwasm_std::errors::std_error::StdError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:823:21 [INFO] [stdout] | [INFO] [stdout] 823 | max_spread: max_spread, [INFO] [stdout] | ^^^^^^^^^^ expected `cosmwasm_std::math::decimal::Decimal`, found `Decimal` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.1/src/math/decimal.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Decimal(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `Decimal` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.5.11/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/msg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use astroport::asset::Asset; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/allowances.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `Uint128` to `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:837:53 [INFO] [stdout] | [INFO] [stdout] 837 | let final_amount = ust_asset.amount.clone().add(swap_fee).add(tax); [INFO] [stdout] | --- ^^^^^^^^ no implementation for `cosmwasm_std::math::uint128::Uint128 + Uint128` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] = help: the following other types implement trait `std::ops::Add`: [INFO] [stdout] `&cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add` [INFO] [stdout] `&cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1148:9 [INFO] [stdout] | [INFO] [stdout] 1148 | amount, [INFO] [stdout] | ^^^^^^ expected `cosmwasm_std::math::uint128::Uint128`, found `Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.1/src/math/uint128.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.5.11/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/msg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use astroport::asset::Asset; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/allowances.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1150:37 [INFO] [stdout] | [INFO] [stdout] 1150 | let tax = ust_asset.compute_tax(&deps.querier)?; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ expected `cosmwasm_std::traits::QuerierWrapper<'_>`, found `QuerierWrapper<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.1/src/traits.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct QuerierWrapper<'a>(&'a dyn Querier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `QuerierWrapper` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.5.11/src/traits.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct QuerierWrapper<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::traits::QuerierWrapper` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/msg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use astroport::asset::Asset; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/allowances.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/astroport-1.2.0/src/asset.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn compute_tax(&self, _querier: &QuerierWrapper) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::ContractError` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1150:51 [INFO] [stdout] | [INFO] [stdout] 1101 | ) -> Result { [INFO] [stdout] | ------------------------------- expected `error::ContractError` because of this [INFO] [stdout] ... [INFO] [stdout] 1150 | let tax = ust_asset.compute_tax(&deps.querier)?; [INFO] [stdout] | --------------------------^ the trait `From` is not implemented for `error::ContractError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, cosmwasm_std::errors::std_error::StdError>` [INFO] [stdout] | [INFO] [stdout] note: `error::ContractError` needs to implement `From` [INFO] [stdout] --> contracts/gaming-pool/src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ContractError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `error::ContractError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `cosmwasm_std::StdError`, found `cosmwasm_std::errors::std_error::StdError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1154:21 [INFO] [stdout] | [INFO] [stdout] 1154 | max_spread: max_spread, [INFO] [stdout] | ^^^^^^^^^^ expected `cosmwasm_std::math::decimal::Decimal`, found `Decimal` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.1/src/math/decimal.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Decimal(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `Decimal` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.5.11/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/msg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use astroport::asset::Asset; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: contracts/gaming-pool/src/allowances.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{ [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `Uint128` to `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1165:53 [INFO] [stdout] | [INFO] [stdout] 1165 | let final_amount = ust_asset.amount.clone().add(swap_fee).add(tax); [INFO] [stdout] | --- ^^^^^^^^ no implementation for `cosmwasm_std::math::uint128::Uint128 + Uint128` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] = help: the following other types implement trait `std::ops::Add`: [INFO] [stdout] `&cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add` [INFO] [stdout] `&cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn migrate(deps: DepsMut, _env: Env, msg: MigrateMsg) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:186:42 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn migrate(deps: DepsMut, _env: Env, msg: MigrateMsg) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `club-staking` (lib) due to 4 previous errors; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable `pool_type` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let pool_type; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_pool_type` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pool_type` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | pool_type = ptd; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pool_details` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:647:17 [INFO] [stdout] | [INFO] [stdout] 647 | let mut pool_details: PoolDetails = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:629:5 [INFO] [stdout] | [INFO] [stdout] 629 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 658 | let mut pool_team_details; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `platform_fee` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:881:9 [INFO] [stdout] | [INFO] [stdout] 881 | let platform_fee; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_platform_fee` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_count` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:936:9 [INFO] [stdout] | [INFO] [stdout] 936 | let pool_count = pool_details.current_teams_count; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `platform_fee` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:966:5 [INFO] [stdout] | [INFO] [stdout] 966 | platform_fee = query_platform_fees(pool_type_details.pool_fee, platform_fee_in_percentage, config.transaction_fee.clone())?.platform_... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_fee` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:968:9 [INFO] [stdout] | [INFO] [stdout] 968 | let pool_fee: Uint128 = pool_type_details.pool_fee; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_fee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `all_teams` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:980:13 [INFO] [stdout] | [INFO] [stdout] 980 | let mut all_teams: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reward_total` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1015:9 [INFO] [stdout] | [INFO] [stdout] 1015 | let reward_total; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_reward_total` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reward_total` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1020:13 [INFO] [stdout] | [INFO] [stdout] 1020 | reward_total = total_current; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reward_total` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1023:13 [INFO] [stdout] | [INFO] [stdout] 1023 | reward_total = reward_given_so_far; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_id` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:867:5 [INFO] [stdout] | [INFO] [stdout] 867 | game_id: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1073:9 [INFO] [stdout] | [INFO] [stdout] 1073 | let config = CONFIG.load(deps.storage)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1079:13 [INFO] [stdout] | [INFO] [stdout] 1079 | let mut funds_to_send = vec![Coin { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pool_details` is never read [INFO] [stdout] --> contracts/gaming-pool/src/query.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let mut pool_details: PoolDetails = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `team_rank` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/query.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let mut team_rank = INITIAL_TEAM_RANK; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_team_rank` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `team_points` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/query.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut team_points = INITIAL_TEAM_POINTS; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_team_points` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `team_rank` is never read [INFO] [stdout] --> contracts/gaming-pool/src/query.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | team_rank = team.team_rank; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `team_points` is never read [INFO] [stdout] --> contracts/gaming-pool/src/query.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | team_points = team.team_points; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gaming-pool` (lib) due to 16 previous errors; 41 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e12356499bfeb63d2dfcbddcbf759b8dbe6ddc8adb57e50e69624d6b801e0e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e12356499bfeb63d2dfcbddcbf759b8dbe6ddc8adb57e50e69624d6b801e0e06", kill_on_drop: false }` [INFO] [stdout] e12356499bfeb63d2dfcbddcbf759b8dbe6ddc8adb57e50e69624d6b801e0e06