[INFO] cloning repository https://github.com/ulgacemre/cosmwasm-launchpad-main [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ulgacemre/cosmwasm-launchpad-main" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fulgacemre%2Fcosmwasm-launchpad-main", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fulgacemre%2Fcosmwasm-launchpad-main'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ec40a385cfeb444d637b278cf17c8f4fe1714c9 [INFO] testing ulgacemre/cosmwasm-launchpad-main against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fulgacemre%2Fcosmwasm-launchpad-main" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/ulgacemre/cosmwasm-launchpad-main [INFO] finished tweaking git repo https://github.com/ulgacemre/cosmwasm-launchpad-main [INFO] tweaked toml for git repo https://github.com/ulgacemre/cosmwasm-launchpad-main written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ulgacemre/cosmwasm-launchpad-main 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/ulgacemre/cosmwasm-launchpad-main 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-7-tc1/source/contracts/locking/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-7-tc1/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-7-tc1/source/contracts/staking/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cosmwasm-schema v1.5.3 [INFO] [stderr] Downloaded cw2 v0.15.1 [INFO] [stderr] Downloaded cosmwasm-derive v1.5.3 [INFO] [stderr] Downloaded cosmwasm-schema-derive v1.5.3 [INFO] [stderr] Downloaded cosmwasm-crypto v1.5.3 [INFO] [stderr] Downloaded cosmwasm-storage v1.5.2 [INFO] [stderr] Downloaded cw721 v0.15.0 [INFO] [stderr] Downloaded cw721-base v0.15.0 [INFO] [stderr] Downloaded cw20 v0.15.1 [INFO] [stderr] Downloaded cw-storage-plus v0.15.1 [INFO] [stderr] Downloaded cw-utils v0.15.1 [INFO] [stderr] Downloaded cosmwasm-std v1.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 46e3f557b45023a231883c45a6d1a29058c4685ed30ea692d92fcfc3000111d2 [INFO] running `Command { std: "docker" "start" "-a" "46e3f557b45023a231883c45a6d1a29058c4685ed30ea692d92fcfc3000111d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46e3f557b45023a231883c45a6d1a29058c4685ed30ea692d92fcfc3000111d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46e3f557b45023a231883c45a6d1a29058c4685ed30ea692d92fcfc3000111d2", kill_on_drop: false }` [INFO] [stdout] 46e3f557b45023a231883c45a6d1a29058c4685ed30ea692d92fcfc3000111d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b2540420338d9004d0951c0440a97e78711848481f7e56a63edae662efb99170 [INFO] running `Command { std: "docker" "start" "-a" "b2540420338d9004d0951c0440a97e78711848481f7e56a63edae662efb99170", 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/locking/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/staking/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling bnum v0.10.0 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling k256 v0.13.1 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling cosmwasm-derive v1.5.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-schema-derive v1.5.3 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling ed25519-zebra v3.1.0 [INFO] [stderr] Compiling serde-json-wasm v0.5.2 [INFO] [stderr] Compiling cosmwasm-crypto v1.5.3 [INFO] [stderr] Compiling cosmwasm-std v1.5.3 [INFO] [stderr] Compiling cosmwasm-schema v1.5.3 [INFO] [stderr] Compiling cw-storage-plus v0.15.1 [INFO] [stderr] Compiling cosmwasm-storage v1.5.2 [INFO] [stderr] Compiling cw2 v0.15.1 [INFO] [stderr] Compiling cw-utils v0.15.1 [INFO] [stderr] Compiling cw20 v0.15.1 [INFO] [stderr] Compiling cw721 v0.15.0 [INFO] [stderr] Compiling cw721-base v0.15.0 [INFO] [stderr] Compiling staking v0.0.0 (/opt/rustwide/workdir/contracts/staking) [INFO] [stderr] Compiling locking v0.1.0 (/opt/rustwide/workdir/contracts/locking) [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/staking/src/contract.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/staking/src/contract.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/staking/src/contract.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/staking/src/contract.rs:359:16 [INFO] [stdout] | [INFO] [stdout] 359 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/staking/src/contract.rs:465:16 [INFO] [stdout] | [INFO] [stdout] 465 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/staking/src/contract.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | from_binary, to_binary, Addr, Binary, CanonicalAddr, CosmosMsg, Decimal, Deps, DepsMut, Env, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | from_binary, to_binary, Addr, Binary, CanonicalAddr, CosmosMsg, Decimal, Deps, DepsMut, Env, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/staking/src/contract.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | match from_binary(&cw20_msg.msg) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:294:18 [INFO] [stdout] | [INFO] [stdout] 294 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:362:32 [INFO] [stdout] | [INFO] [stdout] 362 | QueryMsg::Config {} => to_binary(&query_config(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:363:43 [INFO] [stdout] | [INFO] [stdout] 363 | QueryMsg::State { block_time } => to_binary(&query_state(deps, block_time)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | to_binary(&query_staker_info(deps, staker, block_time)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/querier.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{to_binary, Addr, QuerierWrapper, QueryRequest, StdResult, WasmQuery}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/querier.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | msg: to_binary(&Cw20QueryMsg::Minter {})?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::Bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | singleton(storage, KEY_CONFIG).save(config) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | singleton_read(storage, KEY_CONFIG).load() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | singleton(storage, KEY_STATE).save(state) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | singleton_read(storage, KEY_STATE).load() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::Bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Bucket::new(storage, PREFIX_REWARD).save(owner.as_slice(), staker_info) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::Bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Bucket::::new(storage, PREFIX_REWARD).remove(owner.as_slice()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | match ReadonlyBucket::new(storage, PREFIX_REWARD).may_load(owner.as_slice())? { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | to_binary, Addr, Api, Binary, CosmosMsg, Deps, DepsMut, Env, MessageInfo, Response, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/locking/src/contract.rs:6:53 [INFO] [stdout] | [INFO] [stdout] 6 | StdError, StdResult, Storage, Uint128, WasmMsg, from_binary, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/locking/src/contract.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | match from_binary(&cw20_msg.msg) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:247:35 [INFO] [stdout] | [INFO] [stdout] 247 | QueryMsg::Config {} => Ok(to_binary(&query_config(deps)?)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | Ok(to_binary(&query_lock_account(deps, env, address)?)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | } => Ok(to_binary(&query_lock_accounts( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::bucket_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:5:72 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | singleton::(storage, KEY_CONFIG).save(config) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | singleton_read::(storage, KEY_CONFIG).load() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::bucket_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | bucket_read::(storage, PREFIX_KEY_LOCKING_INFO).load(address.as_slice()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | bucket::(storage, PREFIX_KEY_LOCKING_INFO).save(address.as_slice(), lock_info) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | ReadonlyBucket::new(storage, PREFIX_KEY_LOCKING_INFO); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let lock_accounts: ReadonlyBucket<'a, LockInfo> = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vesting v0.1.0 (/opt/rustwide/workdir/contracts/vesting) [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/vesting/src/contract.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/vesting/src/contract.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/vesting/src/contract.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/vesting/src/contract.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/vesting/src/contract.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult, StdError, CosmosMsg, WasmMsg, Uint128}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | msg: to_binary(&Cw20ExecuteMsg::IncreaseAllowance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | QueryMsg::UsersCount {} => to_binary(&query_count(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:193:47 [INFO] [stdout] | [INFO] [stdout] 193 | QueryMsg::GetUsers { page, limit } => to_binary(&query_users(deps, page, limit)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:194:39 [INFO] [stdout] | [INFO] [stdout] 194 | QueryMsg::GetUser { user } => to_binary(&query_user(deps, user)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:195:38 [INFO] [stdout] | [INFO] [stdout] 195 | QueryMsg::Vested { user } => to_binary( &query_vested(deps, _env, user)? ), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:196:38 [INFO] [stdout] | [INFO] [stdout] 196 | QueryMsg::Locked { user } => to_binary( &query_locked(deps, _env, user)? ), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:197:44 [INFO] [stdout] | [INFO] [stdout] 197 | QueryMsg::Withdrawable { user } => to_binary( &query_withdrawable(deps, _env, user)? ), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling presale v0.1.0 (/opt/rustwide/workdir/contracts/presale) [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/presale/src/contract.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/presale/src/contract.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/presale/src/contract.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/presale/src/contract.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/presale/src/contract.rs:396:16 [INFO] [stdout] | [INFO] [stdout] 396 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_std::{to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult, CosmosMsg, WasmMsg, Uint128, WasmQuery, Query... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | msg: to_binary(&vesting::msg::ExecuteMsg::UpdateRecipient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:315:14 [INFO] [stdout] | [INFO] [stdout] 315 | msg: to_binary(&vesting::msg::ExecuteMsg::UpdateRecipient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | msg: to_binary(&Cw20QueryMsg::Balance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:382:14 [INFO] [stdout] | [INFO] [stdout] 382 | msg: to_binary(&Cw20ExecuteMsg::TransferFrom { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:399:43 [INFO] [stdout] | [INFO] [stdout] 399 | QueryMsg::ParticipantsCount {} => to_binary(&query_count(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:400:54 [INFO] [stdout] | [INFO] [stdout] 400 | QueryMsg::GetParticipants { page, limit } => to_binary(&query_participants(deps, page, limit)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:401:46 [INFO] [stdout] | [INFO] [stdout] 401 | QueryMsg::GetParticipant { user } => to_binary(&query_participant(deps, user)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:402:40 [INFO] [stdout] | [INFO] [stdout] 402 | QueryMsg::GetSaleStatus { } => to_binary( &query_sale_status(deps)? ), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:403:38 [INFO] [stdout] | [INFO] [stdout] 403 | QueryMsg::PresaleInfo { } => to_binary( &query_presale_info(deps)? ) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/presale/src/state.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_storage::{singleton, singleton_read}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/presale/src/state.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_storage::{singleton, singleton_read}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/presale/src/state.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | singleton::(storage, KEY_STATE).save(state) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/presale/src/state.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | singleton_read::(storage, KEY_STATE).load() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/querier.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | to_binary, Addr, AllBalanceResponse, BalanceResponse, BankQuery, Coin, Deps, QueryRequest, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/querier.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | msg: to_binary(&Cw20QueryMsg::Balance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/querier.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | msg: to_binary(&Cw20QueryMsg::TokenInfo {})?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/querier.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | msg: to_binary(&Cw20QueryMsg::TokenInfo {})?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `private_sold_fund` is assigned to, but never used [INFO] [stdout] --> contracts/presale/src/contract.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut private_sold_fund = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_private_sold_fund` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `private_sold_fund` is never read [INFO] [stdout] --> contracts/presale/src/contract.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | private_sold_fund = PRIVATE_SOLD_FUNDS.load(deps.storage, sender.clone())?; [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: `allo_info` [INFO] [stdout] --> contracts/presale/src/contract.rs:178:68 [INFO] [stdout] | [INFO] [stdout] 178 | ...: Env, info: MessageInfo, allo_info: AlloInfo, proof: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allo_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proof` [INFO] [stdout] --> contracts/presale/src/contract.rs:178:89 [INFO] [stdout] | [INFO] [stdout] 178 | ...ageInfo, allo_info: AlloInfo, proof: Vec) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.12s [INFO] running `Command { std: "docker" "inspect" "b2540420338d9004d0951c0440a97e78711848481f7e56a63edae662efb99170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2540420338d9004d0951c0440a97e78711848481f7e56a63edae662efb99170", kill_on_drop: false }` [INFO] [stdout] b2540420338d9004d0951c0440a97e78711848481f7e56a63edae662efb99170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb9bc1d5941e8128e1f5d7e1ad7fd95a3a0bd4c62cc812f3c73d6ca15e5befd8 [INFO] running `Command { std: "docker" "start" "-a" "fb9bc1d5941e8128e1f5d7e1ad7fd95a3a0bd4c62cc812f3c73d6ca15e5befd8", 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/locking/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/staking/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `presale v0.1.0 (/opt/rustwide/workdir/contracts/presale)` has the same output filename as the example target `schema` in package `locking v0.1.0 (/opt/rustwide/workdir/contracts/locking)`. [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 `presale v0.1.0 (/opt/rustwide/workdir/contracts/presale)` has the same output filename as the example target `schema` in package `locking v0.1.0 (/opt/rustwide/workdir/contracts/locking)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [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 `staking v0.0.0 (/opt/rustwide/workdir/contracts/staking)` has the same output filename as the example target `schema` in package `presale v0.1.0 (/opt/rustwide/workdir/contracts/presale)`. [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 `staking v0.0.0 (/opt/rustwide/workdir/contracts/staking)` has the same output filename as the example target `schema` in package `presale v0.1.0 (/opt/rustwide/workdir/contracts/presale)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [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 `vesting v0.1.0 (/opt/rustwide/workdir/contracts/vesting)` has the same output filename as the example target `schema` in package `staking v0.0.0 (/opt/rustwide/workdir/contracts/staking)`. [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 `vesting v0.1.0 (/opt/rustwide/workdir/contracts/vesting)` has the same output filename as the example target `schema` in package `staking v0.0.0 (/opt/rustwide/workdir/contracts/staking)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [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] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | to_binary, Addr, Api, Binary, CosmosMsg, Deps, DepsMut, Env, MessageInfo, Response, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/locking/src/contract.rs:6:53 [INFO] [stdout] | [INFO] [stdout] 6 | StdError, StdResult, Storage, Uint128, WasmMsg, from_binary, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/locking/src/contract.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | match from_binary(&cw20_msg.msg) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:247:35 [INFO] [stdout] | [INFO] [stdout] 247 | QueryMsg::Config {} => Ok(to_binary(&query_config(deps)?)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | Ok(to_binary(&query_lock_account(deps, env, address)?)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | } => Ok(to_binary(&query_lock_accounts( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::bucket_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:5:72 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | singleton::(storage, KEY_CONFIG).save(config) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | singleton_read::(storage, KEY_CONFIG).load() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::bucket_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | bucket_read::(storage, PREFIX_KEY_LOCKING_INFO).load(address.as_slice()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | bucket::(storage, PREFIX_KEY_LOCKING_INFO).save(address.as_slice(), lock_info) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | ReadonlyBucket::new(storage, PREFIX_KEY_LOCKING_INFO); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let lock_accounts: ReadonlyBucket<'a, LockInfo> = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/staking/src/contract.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/staking/src/contract.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/staking/src/contract.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/staking/src/contract.rs:359:16 [INFO] [stdout] | [INFO] [stdout] 359 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/staking/src/contract.rs:465:16 [INFO] [stdout] | [INFO] [stdout] 465 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/staking/src/contract.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | from_binary, to_binary, Addr, Binary, CanonicalAddr, CosmosMsg, Decimal, Deps, DepsMut, Env, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | from_binary, to_binary, Addr, Binary, CanonicalAddr, CosmosMsg, Decimal, Deps, DepsMut, Env, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/staking/src/contract.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | match from_binary(&cw20_msg.msg) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:294:18 [INFO] [stdout] | [INFO] [stdout] 294 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:362:32 [INFO] [stdout] | [INFO] [stdout] 362 | QueryMsg::Config {} => to_binary(&query_config(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:363:43 [INFO] [stdout] | [INFO] [stdout] 363 | QueryMsg::State { block_time } => to_binary(&query_state(deps, block_time)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling locking v0.1.0 (/opt/rustwide/workdir/contracts/locking) [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | to_binary(&query_staker_info(deps, staker, block_time)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling staking v0.0.0 (/opt/rustwide/workdir/contracts/staking) [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/querier.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{to_binary, Addr, QuerierWrapper, QueryRequest, StdResult, WasmQuery}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/querier.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | msg: to_binary(&Cw20QueryMsg::Minter {})?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::Bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | singleton(storage, KEY_CONFIG).save(config) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | singleton_read(storage, KEY_CONFIG).load() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | singleton(storage, KEY_STATE).save(state) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | singleton_read(storage, KEY_STATE).load() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::Bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Bucket::new(storage, PREFIX_REWARD).save(owner.as_slice(), staker_info) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::Bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Bucket::::new(storage, PREFIX_REWARD).remove(owner.as_slice()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | match ReadonlyBucket::new(storage, PREFIX_REWARD).may_load(owner.as_slice())? { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/vesting/src/contract.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vesting v0.1.0 (/opt/rustwide/workdir/contracts/vesting) [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/vesting/src/contract.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/vesting/src/contract.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/vesting/src/contract.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/vesting/src/contract.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult, StdError, CosmosMsg, WasmMsg, Uint128}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | msg: to_binary(&Cw20ExecuteMsg::IncreaseAllowance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | QueryMsg::UsersCount {} => to_binary(&query_count(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:193:47 [INFO] [stdout] | [INFO] [stdout] 193 | QueryMsg::GetUsers { page, limit } => to_binary(&query_users(deps, page, limit)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:194:39 [INFO] [stdout] | [INFO] [stdout] 194 | QueryMsg::GetUser { user } => to_binary(&query_user(deps, user)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:195:38 [INFO] [stdout] | [INFO] [stdout] 195 | QueryMsg::Vested { user } => to_binary( &query_vested(deps, _env, user)? ), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:196:38 [INFO] [stdout] | [INFO] [stdout] 196 | QueryMsg::Locked { user } => to_binary( &query_locked(deps, _env, user)? ), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:197:44 [INFO] [stdout] | [INFO] [stdout] 197 | QueryMsg::Withdrawable { user } => to_binary( &query_withdrawable(deps, _env, user)? ), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/presale/src/contract.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/presale/src/contract.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/presale/src/contract.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling presale v0.1.0 (/opt/rustwide/workdir/contracts/presale) [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/presale/src/contract.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/presale/src/contract.rs:396:16 [INFO] [stdout] | [INFO] [stdout] 396 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_std::{to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult, CosmosMsg, WasmMsg, Uint128, WasmQuery, Query... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | msg: to_binary(&vesting::msg::ExecuteMsg::UpdateRecipient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:315:14 [INFO] [stdout] | [INFO] [stdout] 315 | msg: to_binary(&vesting::msg::ExecuteMsg::UpdateRecipient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | msg: to_binary(&Cw20QueryMsg::Balance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:382:14 [INFO] [stdout] | [INFO] [stdout] 382 | msg: to_binary(&Cw20ExecuteMsg::TransferFrom { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:399:43 [INFO] [stdout] | [INFO] [stdout] 399 | QueryMsg::ParticipantsCount {} => to_binary(&query_count(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:400:54 [INFO] [stdout] | [INFO] [stdout] 400 | QueryMsg::GetParticipants { page, limit } => to_binary(&query_participants(deps, page, limit)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:401:46 [INFO] [stdout] | [INFO] [stdout] 401 | QueryMsg::GetParticipant { user } => to_binary(&query_participant(deps, user)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:402:40 [INFO] [stdout] | [INFO] [stdout] 402 | QueryMsg::GetSaleStatus { } => to_binary( &query_sale_status(deps)? ), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:403:38 [INFO] [stdout] | [INFO] [stdout] 403 | QueryMsg::PresaleInfo { } => to_binary( &query_presale_info(deps)? ) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/presale/src/state.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_storage::{singleton, singleton_read}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/presale/src/state.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_storage::{singleton, singleton_read}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/presale/src/state.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | singleton::(storage, KEY_STATE).save(state) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/presale/src/state.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | singleton_read::(storage, KEY_STATE).load() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/querier.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | to_binary, Addr, AllBalanceResponse, BalanceResponse, BankQuery, Coin, Deps, QueryRequest, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/querier.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | msg: to_binary(&Cw20QueryMsg::Balance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/querier.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | msg: to_binary(&Cw20QueryMsg::TokenInfo {})?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/querier.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | msg: to_binary(&Cw20QueryMsg::TokenInfo {})?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `private_sold_fund` is assigned to, but never used [INFO] [stdout] --> contracts/presale/src/contract.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut private_sold_fund = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_private_sold_fund` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `private_sold_fund` is never read [INFO] [stdout] --> contracts/presale/src/contract.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | private_sold_fund = PRIVATE_SOLD_FUNDS.load(deps.storage, sender.clone())?; [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: `allo_info` [INFO] [stdout] --> contracts/presale/src/contract.rs:178:68 [INFO] [stdout] | [INFO] [stdout] 178 | ...: Env, info: MessageInfo, allo_info: AlloInfo, proof: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allo_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proof` [INFO] [stdout] --> contracts/presale/src/contract.rs:178:89 [INFO] [stdout] | [INFO] [stdout] 178 | ...ageInfo, allo_info: AlloInfo, proof: Vec) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | to_binary, Addr, Api, Binary, CosmosMsg, Deps, DepsMut, Env, MessageInfo, Response, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/locking/src/contract.rs:6:53 [INFO] [stdout] | [INFO] [stdout] 6 | StdError, StdResult, Storage, Uint128, WasmMsg, from_binary, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/locking/src/contract.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | match from_binary(&cw20_msg.msg) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:247:35 [INFO] [stdout] | [INFO] [stdout] 247 | QueryMsg::Config {} => Ok(to_binary(&query_config(deps)?)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | Ok(to_binary(&query_lock_account(deps, env, address)?)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/locking/src/contract.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | } => Ok(to_binary(&query_lock_accounts( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::bucket_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:5:72 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | singleton::(storage, KEY_CONFIG).save(config) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | singleton_read::(storage, KEY_CONFIG).load() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::bucket_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | bucket_read::(storage, PREFIX_KEY_LOCKING_INFO).load(address.as_slice()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | bucket::(storage, PREFIX_KEY_LOCKING_INFO).save(address.as_slice(), lock_info) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | ReadonlyBucket::new(storage, PREFIX_KEY_LOCKING_INFO); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/locking/src/state.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let lock_accounts: ReadonlyBucket<'a, LockInfo> = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/staking/src/contract.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/staking/src/contract.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/staking/src/contract.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/staking/src/contract.rs:359:16 [INFO] [stdout] | [INFO] [stdout] 359 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/staking/src/contract.rs:465:16 [INFO] [stdout] | [INFO] [stdout] 465 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/staking/src/contract.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | from_binary, to_binary, Addr, Binary, CanonicalAddr, CosmosMsg, Decimal, Deps, DepsMut, Env, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | from_binary, to_binary, Addr, Binary, CanonicalAddr, CosmosMsg, Decimal, Deps, DepsMut, Env, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/staking/src/contract.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | match from_binary(&cw20_msg.msg) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:294:18 [INFO] [stdout] | [INFO] [stdout] 294 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:362:32 [INFO] [stdout] | [INFO] [stdout] 362 | QueryMsg::Config {} => to_binary(&query_config(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:363:43 [INFO] [stdout] | [INFO] [stdout] 363 | QueryMsg::State { block_time } => to_binary(&query_state(deps, block_time)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/contract.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | to_binary(&query_staker_info(deps, staker, block_time)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/querier.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{to_binary, Addr, QuerierWrapper, QueryRequest, StdResult, WasmQuery}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/staking/src/querier.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | msg: to_binary(&Cw20QueryMsg::Minter {})?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::Bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | singleton(storage, KEY_CONFIG).save(config) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | singleton_read(storage, KEY_CONFIG).load() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | singleton(storage, KEY_STATE).save(state) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | singleton_read(storage, KEY_STATE).load() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::Bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Bucket::new(storage, PREFIX_REWARD).save(owner.as_slice(), staker_info) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::Bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Bucket::::new(storage, PREFIX_REWARD).remove(owner.as_slice()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/staking/src/state.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | match ReadonlyBucket::new(storage, PREFIX_REWARD).may_load(owner.as_slice())? { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/presale/src/contract.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/presale/src/contract.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/presale/src/contract.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/presale/src/contract.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/presale/src/contract.rs:396:16 [INFO] [stdout] | [INFO] [stdout] 396 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/vesting/src/contract.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/vesting/src/contract.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/vesting/src/contract.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/vesting/src/contract.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/vesting/src/contract.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm_std::{to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult, CosmosMsg, WasmMsg, Uint128, WasmQuery, Query... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | msg: to_binary(&vesting::msg::ExecuteMsg::UpdateRecipient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:315:14 [INFO] [stdout] | [INFO] [stdout] 315 | msg: to_binary(&vesting::msg::ExecuteMsg::UpdateRecipient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | msg: to_binary(&Cw20QueryMsg::Balance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:382:14 [INFO] [stdout] | [INFO] [stdout] 382 | msg: to_binary(&Cw20ExecuteMsg::TransferFrom { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:399:43 [INFO] [stdout] | [INFO] [stdout] 399 | QueryMsg::ParticipantsCount {} => to_binary(&query_count(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:400:54 [INFO] [stdout] | [INFO] [stdout] 400 | QueryMsg::GetParticipants { page, limit } => to_binary(&query_participants(deps, page, limit)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:401:46 [INFO] [stdout] | [INFO] [stdout] 401 | QueryMsg::GetParticipant { user } => to_binary(&query_participant(deps, user)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:402:40 [INFO] [stdout] | [INFO] [stdout] 402 | QueryMsg::GetSaleStatus { } => to_binary( &query_sale_status(deps)? ), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/contract.rs:403:38 [INFO] [stdout] | [INFO] [stdout] 403 | QueryMsg::PresaleInfo { } => to_binary( &query_presale_info(deps)? ) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/presale/src/state.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_storage::{singleton, singleton_read}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/presale/src/state.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_storage::{singleton, singleton_read}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/presale/src/state.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | singleton::(storage, KEY_STATE).save(state) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stdout] --> contracts/presale/src/state.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | singleton_read::(storage, KEY_STATE).load() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/querier.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | to_binary, Addr, AllBalanceResponse, BalanceResponse, BankQuery, Coin, Deps, QueryRequest, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/querier.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | msg: to_binary(&Cw20QueryMsg::Balance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/querier.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | msg: to_binary(&Cw20QueryMsg::TokenInfo {})?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/presale/src/querier.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | msg: to_binary(&Cw20QueryMsg::TokenInfo {})?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult, StdError, CosmosMsg, WasmMsg, Uint128}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | msg: to_binary(&Cw20ExecuteMsg::IncreaseAllowance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | QueryMsg::UsersCount {} => to_binary(&query_count(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:193:47 [INFO] [stdout] | [INFO] [stdout] 193 | QueryMsg::GetUsers { page, limit } => to_binary(&query_users(deps, page, limit)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:194:39 [INFO] [stdout] | [INFO] [stdout] 194 | QueryMsg::GetUser { user } => to_binary(&query_user(deps, user)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:195:38 [INFO] [stdout] | [INFO] [stdout] 195 | QueryMsg::Vested { user } => to_binary( &query_vested(deps, _env, user)? ), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:196:38 [INFO] [stdout] | [INFO] [stdout] 196 | QueryMsg::Locked { user } => to_binary( &query_locked(deps, _env, user)? ), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> contracts/vesting/src/contract.rs:197:44 [INFO] [stdout] | [INFO] [stdout] 197 | QueryMsg::Withdrawable { user } => to_binary( &query_withdrawable(deps, _env, user)? ), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | from_binary, StdError, Timestamp, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | let vested: AmountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | let withdrawable: AmountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | let vested: AmountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:127:40 [INFO] [stdout] | [INFO] [stdout] 127 | let withdrawable: AmountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | let vested: AmountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:140:40 [INFO] [stdout] | [INFO] [stdout] 140 | let withdrawable: AmountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | let vested: AmountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:153:40 [INFO] [stdout] | [INFO] [stdout] 153 | let withdrawable: AmountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | let vested: AmountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | let withdrawable: AmountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:195:42 [INFO] [stdout] | [INFO] [stdout] 195 | let user_response: GetUserResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:201:44 [INFO] [stdout] | [INFO] [stdout] 201 | let users_response: GetUsersResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:207:46 [INFO] [stdout] | [INFO] [stdout] 207 | let count_response: UsersCountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:236:46 [INFO] [stdout] | [INFO] [stdout] 236 | let count_response: UsersCountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:241:44 [INFO] [stdout] | [INFO] [stdout] 241 | let users_response: GetUsersResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:286:34 [INFO] [stdout] | [INFO] [stdout] 286 | let vested: AmountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:289:40 [INFO] [stdout] | [INFO] [stdout] 289 | let withdrawable: AmountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:299:34 [INFO] [stdout] | [INFO] [stdout] 299 | let vested: AmountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stdout] --> contracts/vesting/src/testing.rs:302:40 [INFO] [stdout] | [INFO] [stdout] 302 | let withdrawable: AmountResponse = from_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `private_sold_fund` is assigned to, but never used [INFO] [stdout] --> contracts/presale/src/contract.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut private_sold_fund = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_private_sold_fund` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `private_sold_fund` is never read [INFO] [stdout] --> contracts/presale/src/contract.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | private_sold_fund = PRIVATE_SOLD_FUNDS.load(deps.storage, sender.clone())?; [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: `allo_info` [INFO] [stdout] --> contracts/presale/src/contract.rs:178:68 [INFO] [stdout] | [INFO] [stdout] 178 | ...: Env, info: MessageInfo, allo_info: AlloInfo, proof: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allo_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proof` [INFO] [stdout] --> contracts/presale/src/contract.rs:178:89 [INFO] [stdout] | [INFO] [stdout] 178 | ...ageInfo, allo_info: AlloInfo, proof: Vec) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "fb9bc1d5941e8128e1f5d7e1ad7fd95a3a0bd4c62cc812f3c73d6ca15e5befd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb9bc1d5941e8128e1f5d7e1ad7fd95a3a0bd4c62cc812f3c73d6ca15e5befd8", kill_on_drop: false }` [INFO] [stdout] fb9bc1d5941e8128e1f5d7e1ad7fd95a3a0bd4c62cc812f3c73d6ca15e5befd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8a52de5ad60ff098957810389bff9f3a349cdb859e7a8702ea5ca12a8bac0b9d [INFO] running `Command { std: "docker" "start" "-a" "8a52de5ad60ff098957810389bff9f3a349cdb859e7a8702ea5ca12a8bac0b9d", 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/locking/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/staking/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `presale v0.1.0 (/opt/rustwide/workdir/contracts/presale)` has the same output filename as the example target `schema` in package `locking v0.1.0 (/opt/rustwide/workdir/contracts/locking)`. [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 `presale v0.1.0 (/opt/rustwide/workdir/contracts/presale)` has the same output filename as the example target `schema` in package `locking v0.1.0 (/opt/rustwide/workdir/contracts/locking)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [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 `staking v0.0.0 (/opt/rustwide/workdir/contracts/staking)` has the same output filename as the example target `schema` in package `presale v0.1.0 (/opt/rustwide/workdir/contracts/presale)`. [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 `staking v0.0.0 (/opt/rustwide/workdir/contracts/staking)` has the same output filename as the example target `schema` in package `presale v0.1.0 (/opt/rustwide/workdir/contracts/presale)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [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 `vesting v0.1.0 (/opt/rustwide/workdir/contracts/vesting)` has the same output filename as the example target `schema` in package `staking v0.0.0 (/opt/rustwide/workdir/contracts/staking)`. [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 `vesting v0.1.0 (/opt/rustwide/workdir/contracts/vesting)` has the same output filename as the example target `schema` in package `staking v0.0.0 (/opt/rustwide/workdir/contracts/staking)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [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: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/staking/src/contract.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(not(feature = "library"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/staking/src/contract.rs:24:16 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/staking/src/contract.rs:52:16 [INFO] [stderr] | [INFO] [stderr] 52 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/staking/src/contract.rs:359:16 [INFO] [stderr] | [INFO] [stderr] 359 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/staking/src/contract.rs:465:16 [INFO] [stderr] | [INFO] [stderr] 465 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/staking/src/contract.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | from_binary, to_binary, Addr, Binary, CanonicalAddr, CosmosMsg, Decimal, Deps, DepsMut, Env, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/staking/src/contract.rs:5:18 [INFO] [stderr] | [INFO] [stderr] 5 | from_binary, to_binary, Addr, Binary, CanonicalAddr, CosmosMsg, Decimal, Deps, DepsMut, Env, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/staking/src/contract.rs:75:11 [INFO] [stderr] | [INFO] [stderr] 75 | match from_binary(&cw20_msg.msg) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/staking/src/contract.rs:146:18 [INFO] [stderr] | [INFO] [stderr] 146 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/staking/src/contract.rs:188:18 [INFO] [stderr] | [INFO] [stderr] 188 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/staking/src/contract.rs:294:18 [INFO] [stderr] | [INFO] [stderr] 294 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/staking/src/contract.rs:362:32 [INFO] [stderr] | [INFO] [stderr] 362 | QueryMsg::Config {} => to_binary(&query_config(deps)?), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/staking/src/contract.rs:363:43 [INFO] [stderr] | [INFO] [stderr] 363 | QueryMsg::State { block_time } => to_binary(&query_state(deps, block_time)?), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/staking/src/contract.rs:365:13 [INFO] [stderr] | [INFO] [stderr] 365 | to_binary(&query_staker_info(deps, staker, block_time)?) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/staking/src/querier.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | use cosmwasm_std::{to_binary, Addr, QuerierWrapper, QueryRequest, StdResult, WasmQuery}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/staking/src/querier.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | msg: to_binary(&Cw20QueryMsg::Minter {})?, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/staking/src/state.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/staking/src/state.rs:5:35 [INFO] [stderr] | [INFO] [stderr] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `cosmwasm_storage::Bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/staking/src/state.rs:5:51 [INFO] [stderr] | [INFO] [stderr] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/staking/src/state.rs:5:59 [INFO] [stderr] | [INFO] [stderr] 5 | use cosmwasm_storage::{singleton, singleton_read, Bucket, ReadonlyBucket}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/staking/src/state.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | singleton(storage, KEY_CONFIG).save(config) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/staking/src/state.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | singleton_read(storage, KEY_CONFIG).load() [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/staking/src/state.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | singleton(storage, KEY_STATE).save(state) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/staking/src/state.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | singleton_read(storage, KEY_STATE).load() [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `cosmwasm_storage::Bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/staking/src/state.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | Bucket::new(storage, PREFIX_REWARD).save(owner.as_slice(), staker_info) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `cosmwasm_storage::Bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/staking/src/state.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | Bucket::::new(storage, PREFIX_REWARD).remove(owner.as_slice()) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/staking/src/state.rs:66:11 [INFO] [stderr] | [INFO] [stderr] 66 | match ReadonlyBucket::new(storage, PREFIX_REWARD).may_load(owner.as_slice())? { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/locking/src/contract.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | to_binary, Addr, Api, Binary, CosmosMsg, Deps, DepsMut, Env, MessageInfo, Response, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/locking/src/contract.rs:6:53 [INFO] [stderr] | [INFO] [stderr] 6 | StdError, StdResult, Storage, Uint128, WasmMsg, from_binary, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/locking/src/contract.rs:111:11 [INFO] [stderr] | [INFO] [stderr] 111 | match from_binary(&cw20_msg.msg) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/locking/src/contract.rs:203:18 [INFO] [stderr] | [INFO] [stderr] 203 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/locking/src/contract.rs:213:18 [INFO] [stderr] | [INFO] [stderr] 213 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/locking/src/contract.rs:247:35 [INFO] [stderr] | [INFO] [stderr] 247 | QueryMsg::Config {} => Ok(to_binary(&query_config(deps)?)?), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/locking/src/contract.rs:249:16 [INFO] [stderr] | [INFO] [stderr] 249 | Ok(to_binary(&query_lock_account(deps, env, address)?)?) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/locking/src/contract.rs:255:17 [INFO] [stderr] | [INFO] [stderr] 255 | } => Ok(to_binary(&query_lock_accounts( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/locking/src/state.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::bucket_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/locking/src/state.rs:5:32 [INFO] [stderr] | [INFO] [stderr] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/locking/src/state.rs:5:45 [INFO] [stderr] | [INFO] [stderr] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/locking/src/state.rs:5:56 [INFO] [stderr] | [INFO] [stderr] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/locking/src/state.rs:5:72 [INFO] [stderr] | [INFO] [stderr] 5 | use cosmwasm_storage::{bucket, bucket_read, singleton, singleton_read, ReadonlyBucket}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/locking/src/state.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | singleton::(storage, KEY_CONFIG).save(config) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/locking/src/state.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | singleton_read::(storage, KEY_CONFIG).load() [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::bucket_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/locking/src/state.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | bucket_read::(storage, PREFIX_KEY_LOCKING_INFO).load(address.as_slice()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::bucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/locking/src/state.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | bucket::(storage, PREFIX_KEY_LOCKING_INFO).save(address.as_slice(), lock_info) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/locking/src/state.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | ReadonlyBucket::new(storage, PREFIX_KEY_LOCKING_INFO); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `cosmwasm_storage::ReadonlyBucket`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/locking/src/state.rs:62:24 [INFO] [stderr] | [INFO] [stderr] 62 | let lock_accounts: ReadonlyBucket<'a, LockInfo> = [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `staking` (lib) generated 27 warnings [INFO] [stderr] warning: `locking` (lib) generated 19 warnings [INFO] [stderr] warning: `staking` (lib test) generated 27 warnings (27 duplicates) [INFO] [stderr] warning: `locking` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/vesting/src/contract.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(not(feature = "library"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/vesting/src/contract.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/vesting/src/contract.rs:38:16 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/vesting/src/contract.rs:45:16 [INFO] [stderr] | [INFO] [stderr] 45 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/vesting/src/contract.rs:189:16 [INFO] [stderr] | [INFO] [stderr] 189 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/vesting/src/contract.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use cosmwasm_std::{to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult, StdError, CosmosMsg, WasmMsg, Uint128}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/vesting/src/contract.rs:94:14 [INFO] [stderr] | [INFO] [stderr] 94 | msg: to_binary(&Cw20ExecuteMsg::IncreaseAllowance { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/vesting/src/contract.rs:176:14 [INFO] [stderr] | [INFO] [stderr] 176 | msg: to_binary(&Cw20ExecuteMsg::Transfer { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/vesting/src/contract.rs:192:36 [INFO] [stderr] | [INFO] [stderr] 192 | QueryMsg::UsersCount {} => to_binary(&query_count(deps)?), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/vesting/src/contract.rs:193:47 [INFO] [stderr] | [INFO] [stderr] 193 | QueryMsg::GetUsers { page, limit } => to_binary(&query_users(deps, page, limit)?), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/vesting/src/contract.rs:194:39 [INFO] [stderr] | [INFO] [stderr] 194 | QueryMsg::GetUser { user } => to_binary(&query_user(deps, user)?), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/vesting/src/contract.rs:195:38 [INFO] [stderr] | [INFO] [stderr] 195 | QueryMsg::Vested { user } => to_binary( &query_vested(deps, _env, user)? ), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/vesting/src/contract.rs:196:38 [INFO] [stderr] | [INFO] [stderr] 196 | QueryMsg::Locked { user } => to_binary( &query_locked(deps, _env, user)? ), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/vesting/src/contract.rs:197:44 [INFO] [stderr] | [INFO] [stderr] 197 | QueryMsg::Withdrawable { user } => to_binary( &query_withdrawable(deps, _env, user)? ), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | from_binary, StdError, Timestamp, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:112:34 [INFO] [stderr] | [INFO] [stderr] 112 | let vested: AmountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:115:40 [INFO] [stderr] | [INFO] [stderr] 115 | let withdrawable: AmountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:124:34 [INFO] [stderr] | [INFO] [stderr] 124 | let vested: AmountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:127:40 [INFO] [stderr] | [INFO] [stderr] 127 | let withdrawable: AmountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:137:34 [INFO] [stderr] | [INFO] [stderr] 137 | let vested: AmountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:140:40 [INFO] [stderr] | [INFO] [stderr] 140 | let withdrawable: AmountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:150:34 [INFO] [stderr] | [INFO] [stderr] 150 | let vested: AmountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:153:40 [INFO] [stderr] | [INFO] [stderr] 153 | let withdrawable: AmountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:162:34 [INFO] [stderr] | [INFO] [stderr] 162 | let vested: AmountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:165:40 [INFO] [stderr] | [INFO] [stderr] 165 | let withdrawable: AmountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:195:42 [INFO] [stderr] | [INFO] [stderr] 195 | let user_response: GetUserResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:201:44 [INFO] [stderr] | [INFO] [stderr] 201 | let users_response: GetUsersResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:207:46 [INFO] [stderr] | [INFO] [stderr] 207 | let count_response: UsersCountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:236:46 [INFO] [stderr] | [INFO] [stderr] 236 | let count_response: UsersCountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:241:44 [INFO] [stderr] | [INFO] [stderr] 241 | let users_response: GetUsersResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:286:34 [INFO] [stderr] | [INFO] [stderr] 286 | let vested: AmountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:289:40 [INFO] [stderr] | [INFO] [stderr] 289 | let withdrawable: AmountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:299:34 [INFO] [stderr] | [INFO] [stderr] 299 | let vested: AmountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead [INFO] [stderr] --> contracts/vesting/src/testing.rs:302:40 [INFO] [stderr] | [INFO] [stderr] 302 | let withdrawable: AmountResponse = from_binary( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `vesting` (lib) generated 14 warnings [INFO] [stderr] warning: `vesting` (lib test) generated 34 warnings (14 duplicates) [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/presale/src/contract.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | #[cfg(not(feature = "library"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/presale/src/contract.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 14 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/presale/src/contract.rs:46:16 [INFO] [stderr] | [INFO] [stderr] 46 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/presale/src/contract.rs:53:16 [INFO] [stderr] | [INFO] [stderr] 53 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/presale/src/contract.rs:396:16 [INFO] [stderr] | [INFO] [stderr] 396 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/presale/src/contract.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use cosmwasm_std::{to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult, CosmosMsg, WasmMsg, Uint128, WasmQuery, Query... [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/presale/src/contract.rs:241:14 [INFO] [stderr] | [INFO] [stderr] 241 | msg: to_binary(&vesting::msg::ExecuteMsg::UpdateRecipient { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/presale/src/contract.rs:315:14 [INFO] [stderr] | [INFO] [stderr] 315 | msg: to_binary(&vesting::msg::ExecuteMsg::UpdateRecipient { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/presale/src/contract.rs:371:14 [INFO] [stderr] | [INFO] [stderr] 371 | msg: to_binary(&Cw20QueryMsg::Balance { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/presale/src/contract.rs:382:14 [INFO] [stderr] | [INFO] [stderr] 382 | msg: to_binary(&Cw20ExecuteMsg::TransferFrom { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/presale/src/contract.rs:399:43 [INFO] [stderr] | [INFO] [stderr] 399 | QueryMsg::ParticipantsCount {} => to_binary(&query_count(deps)?), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/presale/src/contract.rs:400:54 [INFO] [stderr] | [INFO] [stderr] 400 | QueryMsg::GetParticipants { page, limit } => to_binary(&query_participants(deps, page, limit)?), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/presale/src/contract.rs:401:46 [INFO] [stderr] | [INFO] [stderr] 401 | QueryMsg::GetParticipant { user } => to_binary(&query_participant(deps, user)?), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/presale/src/contract.rs:402:40 [INFO] [stderr] | [INFO] [stderr] 402 | QueryMsg::GetSaleStatus { } => to_binary( &query_sale_status(deps)? ), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/presale/src/contract.rs:403:38 [INFO] [stderr] | [INFO] [stderr] 403 | QueryMsg::PresaleInfo { } => to_binary( &query_presale_info(deps)? ) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/presale/src/state.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use cosmwasm_storage::{singleton, singleton_read}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/presale/src/state.rs:1:35 [INFO] [stderr] | [INFO] [stderr] 1 | use cosmwasm_storage::{singleton, singleton_read}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::singleton`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/presale/src/state.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | singleton::(storage, KEY_STATE).save(state) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_storage::singleton_read`: The crate cosmwasm-storage is unmaintained and will be removed in CosmWasm 2.0. Please consider migrating to cw-storage-plus or simple cosmwasm-std storage calls. [INFO] [stderr] --> contracts/presale/src/state.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | singleton_read::(storage, KEY_STATE).load() [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/presale/src/querier.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | to_binary, Addr, AllBalanceResponse, BalanceResponse, BankQuery, Coin, Deps, QueryRequest, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/presale/src/querier.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | msg: to_binary(&Cw20QueryMsg::Balance { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/presale/src/querier.rs:48:18 [INFO] [stderr] | [INFO] [stderr] 48 | msg: to_binary(&Cw20QueryMsg::TokenInfo {})?, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> contracts/presale/src/querier.rs:59:18 [INFO] [stderr] | [INFO] [stderr] 59 | msg: to_binary(&Cw20QueryMsg::TokenInfo {})?, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `private_sold_fund` is assigned to, but never used [INFO] [stderr] --> contracts/presale/src/contract.rs:212:13 [INFO] [stderr] | [INFO] [stderr] 212 | let mut private_sold_fund = Uint128::zero(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_private_sold_fund` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `private_sold_fund` is never read [INFO] [stderr] --> contracts/presale/src/contract.rs:217:9 [INFO] [stderr] | [INFO] [stderr] 217 | private_sold_fund = PRIVATE_SOLD_FUNDS.load(deps.storage, sender.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `allo_info` [INFO] [stderr] --> contracts/presale/src/contract.rs:178:68 [INFO] [stderr] | [INFO] [stderr] 178 | ...: Env, info: MessageInfo, allo_info: AlloInfo, proof: Vec) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allo_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `proof` [INFO] [stderr] --> contracts/presale/src/contract.rs:178:89 [INFO] [stderr] | [INFO] [stderr] 178 | ...ageInfo, allo_info: AlloInfo, proof: Vec) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proof` [INFO] [stderr] [INFO] [stderr] warning: `presale` (lib) generated 27 warnings [INFO] [stderr] warning: `presale` (lib test) generated 27 warnings (27 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/locking-b334f8267b676260) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/presale-499610c2f034d760) [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/staking-5c41479e92a35252) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vesting-4a6649d5b9cf16f7) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test testing::test_query ... ok [INFO] [stdout] test testing::test_initialize ... ok [INFO] [stdout] test testing::test_security ... FAILED [INFO] [stdout] test testing::test_vesting_amount ... FAILED [INFO] [stdout] test testing::test_withdraw ... FAILED [INFO] [stdout] test testing::test_query_bulk ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- testing::test_security stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'testing::test_security' (31) panicked at contracts/vesting/src/testing.rs:80:97: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: GenericErr { msg: "can't set earlier time" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56a5741b4ae2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x56a5741b4ae2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x56a5741b4ae2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x56a5741b4ae2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x56a5741c5fbf - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x56a5741c5fbf - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x56a574182393 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x56a574182393 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x56a57418e152 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x56a574192baf - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x56a574192a41 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x56a57408e6de - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x56a57408e6de - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x56a57419324e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x56a57419324e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x56a57419301a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x56a57418e289 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x56a5741765fd - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x56a5741cdec0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x56a5741cd146 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x56a57404ae76 - core::result::Result::unwrap::hb2f34a0046c7d223 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x56a57404ae76 - vesting::testing::test_security::h060d298a3ee795ec [INFO] [stdout] at /opt/rustwide/workdir/contracts/vesting/src/testing.rs:80:97 [INFO] [stdout] 22: 0x56a57404b377 - vesting::testing::test_security::{{closure}}::h6942a8cd53f48f9f [INFO] [stdout] at /opt/rustwide/workdir/contracts/vesting/src/testing.rs:27:19 [INFO] [stdout] 23: 0x56a57403b136 - core::ops::function::FnOnce::call_once::h18c04c634fdc1fa1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x56a57408e4db - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x56a57408e4db - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x56a5740a3f85 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x56a5740a3f85 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x56a5740a3f85 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x56a5740a3f85 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x56a5740a3f85 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x56a5740a3f85 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x56a5740a3f85 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x56a57407a9a4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x56a57407a9a4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x56a57407e28a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x56a57407e28a - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x56a57407e28a - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x56a57407e28a - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x56a57407e28a - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x56a57407e28a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x56a57407e28a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x56a57418850f - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x56a57418850f - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x7e917c5aeaa4 - [INFO] [stdout] 45: 0x7e917c63ba34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- testing::test_vesting_amount stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'testing::test_vesting_amount' (32) panicked at contracts/vesting/src/testing.rs:107:59: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: GenericErr { msg: "can't set earlier time" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56a5741b4ae2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x56a5741b4ae2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x56a5741b4ae2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x56a5741b4ae2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x56a5741c5fbf - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x56a5741c5fbf - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x56a574182393 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x56a574182393 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x56a57418e152 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x56a574192baf - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x56a574192a41 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x56a57408e6de - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x56a57408e6de - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x56a57419324e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x56a57419324e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x56a57419301a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x56a57418e289 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x56a5741765fd - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x56a5741cdec0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x56a5741cd146 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x56a57404f521 - core::result::Result::unwrap::hb2f34a0046c7d223 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x56a57404f521 - vesting::testing::test_vesting_amount::hee137281fb267b8a [INFO] [stdout] at /opt/rustwide/workdir/contracts/vesting/src/testing.rs:107:59 [INFO] [stdout] 22: 0x56a5740523d7 - vesting::testing::test_vesting_amount::{{closure}}::hc8682f29c071817c [INFO] [stdout] at /opt/rustwide/workdir/contracts/vesting/src/testing.rs:84:25 [INFO] [stdout] 23: 0x56a57403b1f6 - core::ops::function::FnOnce::call_once::h29fd0410bce996fb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x56a57408e4db - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x56a57408e4db - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x56a5740a3f85 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x56a5740a3f85 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x56a5740a3f85 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x56a5740a3f85 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x56a5740a3f85 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x56a5740a3f85 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x56a5740a3f85 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x56a57407a9a4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x56a57407a9a4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x56a57407e28a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x56a57407e28a - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x56a57407e28a - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x56a57407e28a - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x56a57407e28a - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x56a57407e28a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x56a57407e28a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x56a57418850f - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x56a57418850f - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x7e917c5aeaa4 - [INFO] [stdout] 45: 0x7e917c63ba34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- testing::test_withdraw stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'testing::test_withdraw' (33) panicked at contracts/vesting/src/testing.rs:274:59: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: GenericErr { msg: "can't set earlier time" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56a5741b4ae2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x56a5741b4ae2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x56a5741b4ae2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x56a5741b4ae2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x56a5741c5fbf - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x56a5741c5fbf - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x56a574182393 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x56a574182393 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x56a57418e152 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x56a574192baf - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x56a574192a41 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x56a57408e6de - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x56a57408e6de - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x56a57419324e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x56a57419324e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x56a57419301a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x56a57418e289 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x56a5741765fd - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x56a5741cdec0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x56a5741cd146 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x56a57404bc72 - core::result::Result::unwrap::hb2f34a0046c7d223 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x56a57404bc72 - vesting::testing::test_withdraw::h82c7da5dcb8118a8 [INFO] [stdout] at /opt/rustwide/workdir/contracts/vesting/src/testing.rs:274:59 [INFO] [stdout] 22: 0x56a57404d517 - vesting::testing::test_withdraw::{{closure}}::h6700f66543483089 [INFO] [stdout] at /opt/rustwide/workdir/contracts/vesting/src/testing.rs:251:19 [INFO] [stdout] 23: 0x56a57403b1b6 - core::ops::function::FnOnce::call_once::h1dec0a7d7fb6c2e0 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x56a57408e4db - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x56a57408e4db - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stderr] error: test failed, to rerun pass `-p vesting --lib` [INFO] [stdout] 26: 0x56a5740a3f85 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x56a5740a3f85 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x56a5740a3f85 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x56a5740a3f85 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x56a5740a3f85 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x56a5740a3f85 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x56a5740a3f85 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x56a57407a9a4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x56a57407a9a4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x56a57407e28a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x56a57407e28a - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x56a57407e28a - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x56a57407e28a - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x56a57407e28a - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x56a57407e28a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x56a57407e28a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x56a57418850f - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x56a57418850f - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x7e917c5aeaa4 - [INFO] [stdout] 45: 0x7e917c63ba34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] testing::test_security [INFO] [stdout] testing::test_vesting_amount [INFO] [stdout] testing::test_withdraw [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8a52de5ad60ff098957810389bff9f3a349cdb859e7a8702ea5ca12a8bac0b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a52de5ad60ff098957810389bff9f3a349cdb859e7a8702ea5ca12a8bac0b9d", kill_on_drop: false }` [INFO] [stdout] 8a52de5ad60ff098957810389bff9f3a349cdb859e7a8702ea5ca12a8bac0b9d