[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#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fulgacemre%2Fcosmwasm-launchpad-main" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ulgacemre/cosmwasm-launchpad-main on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [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" "+414482f6a0d4e7290f614300581a0b55442552a3" "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-1-tc1/source/contracts/locking/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-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-1-tc1/source/contracts/staking/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cw721 v0.15.0 [INFO] [stderr] Downloaded cw721-base v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17406d024a7c4c826f5f6c484cd9b16a75554cc3cfdfe4b6d31ff4ca434a44ab [INFO] running `Command { std: "docker" "start" "-a" "17406d024a7c4c826f5f6c484cd9b16a75554cc3cfdfe4b6d31ff4ca434a44ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17406d024a7c4c826f5f6c484cd9b16a75554cc3cfdfe4b6d31ff4ca434a44ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17406d024a7c4c826f5f6c484cd9b16a75554cc3cfdfe4b6d31ff4ca434a44ab", kill_on_drop: false }` [INFO] [stdout] 17406d024a7c4c826f5f6c484cd9b16a75554cc3cfdfe4b6d31ff4ca434a44ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1e4feb7822bdb8e2cd14583d1b822a392b5fe8308894903030514f441a69774 [INFO] running `Command { std: "docker" "start" "-a" "d1e4feb7822bdb8e2cd14583d1b822a392b5fe8308894903030514f441a69774", 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 version_check v0.9.4 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [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 autocfg v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [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 derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-derive v1.5.3 [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 locking v0.1.0 (/opt/rustwide/workdir/contracts/locking) [INFO] [stderr] Compiling staking v0.0.0 (/opt/rustwide/workdir/contracts/staking) [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)]` 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)]` 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 44.18s [INFO] running `Command { std: "docker" "inspect" "d1e4feb7822bdb8e2cd14583d1b822a392b5fe8308894903030514f441a69774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1e4feb7822bdb8e2cd14583d1b822a392b5fe8308894903030514f441a69774", kill_on_drop: false }` [INFO] [stdout] d1e4feb7822bdb8e2cd14583d1b822a392b5fe8308894903030514f441a69774 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 312ba8a2560e3bdd82941d0061961ab5dfcd64eb31c177a55bca26eb493507c8 [INFO] running `Command { std: "docker" "start" "-a" "312ba8a2560e3bdd82941d0061961ab5dfcd64eb31c177a55bca26eb493507c8", 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] [stderr] Compiling locking v0.1.0 (/opt/rustwide/workdir/contracts/locking) [INFO] [stderr] Compiling staking v0.0.0 (/opt/rustwide/workdir/contracts/staking) [INFO] [stderr] Compiling vesting v0.1.0 (/opt/rustwide/workdir/contracts/vesting) [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/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] [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)]` 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)]` 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] Compiling presale v0.1.0 (/opt/rustwide/workdir/contracts/presale) [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/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] [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: 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: 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::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/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)]` 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)]` 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 2.99s [INFO] running `Command { std: "docker" "inspect" "312ba8a2560e3bdd82941d0061961ab5dfcd64eb31c177a55bca26eb493507c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "312ba8a2560e3bdd82941d0061961ab5dfcd64eb31c177a55bca26eb493507c8", kill_on_drop: false }` [INFO] [stdout] 312ba8a2560e3bdd82941d0061961ab5dfcd64eb31c177a55bca26eb493507c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 390067dea115b739e63d22b9fa2be1ecee82fbb38588ef93c5535f27c69e4b2d [INFO] running `Command { std: "docker" "start" "-a" "390067dea115b739e63d22b9fa2be1ecee82fbb38588ef93c5535f27c69e4b2d", 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/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: `vesting` (lib) generated 14 warnings [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)]` 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)]` 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: 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: 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::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: `presale` (lib) generated 27 warnings [INFO] [stderr] warning: `locking` (lib) generated 19 warnings [INFO] [stderr] warning: `staking` (lib) generated 27 warnings [INFO] [stderr] warning: `presale` (lib test) generated 27 warnings (27 duplicates) [INFO] [stderr] warning: `vesting` (lib test) generated 34 warnings (14 duplicates) [INFO] [stderr] warning: `locking` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] warning: `staking` (lib test) generated 27 warnings (27 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/locking-232beed5a58c6422) [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-504d7de3e0b12554) [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/staking-a41d2b38e51c9582) [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-4d245efe1c08f15d) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test testing::test_initialize ... ok [INFO] [stdout] test testing::test_query ... ok [INFO] [stdout] test testing::test_withdraw ... FAILED [INFO] [stdout] test testing::test_vesting_amount ... FAILED [INFO] [stdout] test testing::test_security ... FAILED [INFO] [stdout] test testing::test_query_bulk ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- testing::test_withdraw stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'testing::test_withdraw' 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: 0x5b2af6af13c2 - std::backtrace_rs::backtrace::libunwind::trace::h2a54ddf40adf8cf8 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b2af6af13c2 - std::backtrace_rs::backtrace::trace_unsynchronized::h332dec2b3594a10b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b2af6af13c2 - std::sys::backtrace::_print_fmt::hcb3dee91dccac105 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b2af6af13c2 - ::fmt::h2f02338d4ae6d8b0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b2af6b16553 - core::fmt::rt::Argument::fmt::h8705d664b1839d6c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5b2af6b16553 - core::fmt::write::h5e77c22335cabc7f [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/mod.rs:1446:25 [INFO] [stdout] 6: 0x5b2af6aee2b3 - std::io::default_write_fmt::h5c16109ce8878b06 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b2af6aee2b3 - std::io::Write::write_fmt::h183cd11c08a12e04 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x5b2af6af1212 - std::sys::backtrace::BacktraceLock::print::hb22254026b13323e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5b2af6af294c - std::panicking::default_hook::{{closure}}::h15ac4e3ee7801be5 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x5b2af6af27a2 - std::panicking::default_hook::h15db2a3343942a16 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5b2af69fd134 - as core::ops::function::Fn>::call::ha02114eecd5b8f69 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x5b2af69fd134 - test::test_main_with_exit_callback::{{closure}}::hfb76c9b760818eb2 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5b2af6af3443 - as core::ops::function::Fn>::call::h325134fa51136753 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x5b2af6af3443 - std::panicking::rust_panic_with_hook::h67f3fa85499b6cf9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5b2af6af30fa - std::panicking::begin_panic_handler::{{closure}}::h40a30e994b26720e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5b2af6af18c9 - std::sys::backtrace::__rust_end_short_backtrace::hb5bcb2f6ea295c8b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5b2af6af2d8d - __rustc[bf3627c2b8b7eae9]::rust_begin_unwind [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5b2af6b14a80 - core::panicking::panic_fmt::h20722ae9d0312a90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5b2af6b14ee6 - core::result::unwrap_failed::h3a549f59308089dd [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/result.rs:1732:5 [INFO] [stdout] 20: 0x5b2af69a3902 - core::result::Result::unwrap::hf9b0aedc25e5196c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/result.rs:1137:23 [INFO] [stdout] 21: 0x5b2af69a3902 - vesting::testing::test_withdraw::h2432fd0f275d22cb [INFO] [stdout] at /opt/rustwide/workdir/contracts/vesting/src/testing.rs:274:5 [INFO] [stdout] 22: 0x5b2af69a3007 - vesting::testing::test_withdraw::{{closure}}::h7111a1f1fa306a39 [INFO] [stdout] at /opt/rustwide/workdir/contracts/vesting/src/testing.rs:251:19 [INFO] [stdout] 23: 0x5b2af6983426 - core::ops::function::FnOnce::call_once::he4612798305f01d1 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5b2af6a028eb - core::ops::function::FnOnce::call_once::h57f6f31c364c320b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5b2af6a028eb - test::__rust_begin_short_backtrace::h517520f4c2bfc013 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x5b2af6a01b42 - test::run_test_in_process::{{closure}}::h0914ac5f2719bf90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:60 [INFO] [stdout] 27: 0x5b2af6a01b42 - as core::ops::function::FnOnce<()>>::call_once::h6fe627a8560ee122 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5b2af6a01b42 - std::panicking::try::do_call::h8e4a522b2d07b5d9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x5b2af6a01b42 - std::panicking::try::h254b443d279d1f8a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x5b2af6a01b42 - std::panic::catch_unwind::he39107e495b94aed [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5b2af6a01b42 - test::run_test_in_process::hb9053e7102e6de40 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x5b2af6a01b42 - test::run_test::{{closure}}::hed53f683e9967fc9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x5b2af69c4f34 - test::run_test::{{closure}}::h1b1395a97621c24c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x5b2af69c4f34 - std::sys::backtrace::__rust_begin_short_backtrace::hd15d7342920b94e4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x5b2af69c895a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf7d3403d2a997ad4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5b2af69c895a - as core::ops::function::FnOnce<()>>::call_once::h804cb151403aed57 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5b2af69c895a - std::panicking::try::do_call::h83a3328114f83651 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x5b2af69c895a - std::panicking::try::h5371451a86d476d0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x5b2af69c895a - std::panic::catch_unwind::h2d1b89e7535ca74a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5b2af69c895a - std::thread::Builder::spawn_unchecked_::{{closure}}::h169c242c7f876b92 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5b2af69c895a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4115e0f997976371 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5b2af6af4ceb - as core::ops::function::FnOnce>::call_once::hbc3fa83432d7fd73 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x5b2af6af4ceb - as core::ops::function::FnOnce>::call_once::heba5519d10f2c030 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x5b2af6af4ceb - std::sys::pal::unix::thread::Thread::new::thread_start::h211a36f354245501 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x77d1be107aa4 - [INFO] [stdout] 46: 0x77d1be194a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- testing::test_vesting_amount stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'testing::test_vesting_amount' 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: 0x5b2af6af13c2 - std::backtrace_rs::backtrace::libunwind::trace::h2a54ddf40adf8cf8 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b2af6af13c2 - std::backtrace_rs::backtrace::trace_unsynchronized::h332dec2b3594a10b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b2af6af13c2 - std::sys::backtrace::_print_fmt::hcb3dee91dccac105 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b2af6af13c2 - ::fmt::h2f02338d4ae6d8b0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b2af6b16553 - core::fmt::rt::Argument::fmt::h8705d664b1839d6c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5b2af6b16553 - core::fmt::write::h5e77c22335cabc7f [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/mod.rs:1446:25 [INFO] [stdout] 6: 0x5b2af6aee2b3 - std::io::default_write_fmt::h5c16109ce8878b06 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b2af6aee2b3 - std::io::Write::write_fmt::h183cd11c08a12e04 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x5b2af6af1212 - std::sys::backtrace::BacktraceLock::print::hb22254026b13323e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5b2af6af294c - std::panicking::default_hook::{{closure}}::h15ac4e3ee7801be5 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x5b2af6af27a2 - std::panicking::default_hook::h15db2a3343942a16 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5b2af69fd134 - as core::ops::function::Fn>::call::ha02114eecd5b8f69 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x5b2af69fd134 - test::test_main_with_exit_callback::{{closure}}::hfb76c9b760818eb2 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5b2af6af3443 - as core::ops::function::Fn>::call::h325134fa51136753 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x5b2af6af3443 - std::panicking::rust_panic_with_hook::h67f3fa85499b6cf9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5b2af6af30fa - std::panicking::begin_panic_handler::{{closure}}::h40a30e994b26720e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5b2af6af18c9 - std::sys::backtrace::__rust_end_short_backtrace::hb5bcb2f6ea295c8b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5b2af6af2d8d - __rustc[bf3627c2b8b7eae9]::rust_begin_unwind [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5b2af6b14a80 - core::panicking::panic_fmt::h20722ae9d0312a90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5b2af6b14ee6 - core::result::unwrap_failed::h3a549f59308089dd [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/result.rs:1732:5 [INFO] [stdout] 20: 0x5b2af699da71 - core::result::Result::unwrap::hf9b0aedc25e5196c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/result.rs:1137:23 [INFO] [stdout] 21: 0x5b2af699da71 - vesting::testing::test_vesting_amount::h983dfc2045df9c4b [INFO] [stdout] at /opt/rustwide/workdir/contracts/vesting/src/testing.rs:107:5 [INFO] [stdout] 22: 0x5b2af699d147 - vesting::testing::test_vesting_amount::{{closure}}::hb3ef0191b4549142 [INFO] [stdout] at /opt/rustwide/workdir/contracts/vesting/src/testing.rs:84:25 [INFO] [stdout] 23: 0x5b2af6983166 - core::ops::function::FnOnce::call_once::h0d0b24ffeff68d4d [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5b2af6a028eb - core::ops::function::FnOnce::call_once::h57f6f31c364c320b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5b2af6a028eb - test::__rust_begin_short_backtrace::h517520f4c2bfc013 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x5b2af6a01b42 - test::run_test_in_process::{{closure}}::h0914ac5f2719bf90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:60 [INFO] [stdout] 27: 0x5b2af6a01b42 - as core::ops::function::FnOnce<()>>::call_once::h6fe627a8560ee122 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5b2af6a01b42 - std::panicking::try::do_call::h8e4a522b2d07b5d9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x5b2af6a01b42 - std::panicking::try::h254b443d279d1f8a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x5b2af6a01b42 - std::panic::catch_unwind::he39107e495b94aed [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5b2af6a01b42 - test::run_test_in_process::hb9053e7102e6de40 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x5b2af6a01b42 - test::run_test::{{closure}}::hed53f683e9967fc9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x5b2af69c4f34 - test::run_test::{{closure}}::h1b1395a97621c24c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x5b2af69c4f34 - std::sys::backtrace::__rust_begin_short_backtrace::hd15d7342920b94e4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x5b2af69c895a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf7d3403d2a997ad4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5b2af69c895a - as core::ops::function::FnOnce<()>>::call_once::h804cb151403aed57 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5b2af69c895a - std::panicking::try::do_call::h83a3328114f83651 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x5b2af69c895a - std::panicking::try::h5371451a86d476d0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x5b2af69c895a - std::panic::catch_unwind::h2d1b89e7535ca74a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5b2af69c895a - std::thread::Builder::spawn_unchecked_::{{closure}}::h169c242c7f876b92 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5b2af69c895a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4115e0f997976371 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5b2af6af4ceb - as core::ops::function::FnOnce>::call_once::hbc3fa83432d7fd73 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x5b2af6af4ceb - as core::ops::function::FnOnce>::call_once::heba5519d10f2c030 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x5b2af6af4ceb - std::sys::pal::unix::thread::Thread::new::thread_start::h211a36f354245501 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x77d1be107aa4 - [INFO] [stdout] 46: 0x77d1be194a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- testing::test_security stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'testing::test_security' 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: 0x5b2af6af13c2 - std::backtrace_rs::backtrace::libunwind::trace::h2a54ddf40adf8cf8 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b2af6af13c2 - std::backtrace_rs::backtrace::trace_unsynchronized::h332dec2b3594a10b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b2af6af13c2 - std::sys::backtrace::_print_fmt::hcb3dee91dccac105 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b2af6af13c2 - ::fmt::h2f02338d4ae6d8b0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b2af6b16553 - core::fmt::rt::Argument::fmt::h8705d664b1839d6c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5b2af6b16553 - core::fmt::write::h5e77c22335cabc7f [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/mod.rs:1446:25 [INFO] [stdout] 6: 0x5b2af6aee2b3 - std::io::default_write_fmt::h5c16109ce8878b06 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b2af6aee2b3 - std::io::Write::write_fmt::h183cd11c08a12e04 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x5b2af6af1212 - std::sys::backtrace::BacktraceLock::print::hb22254026b13323e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5b2af6af294c - std::panicking::default_hook::{{closure}}::h15ac4e3ee7801be5 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x5b2af6af27a2 - std::panicking::default_hook::h15db2a3343942a16 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5b2af69fd134 - as core::ops::function::Fn>::call::ha02114eecd5b8f69 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x5b2af69fd134 - test::test_main_with_exit_callback::{{closure}}::hfb76c9b760818eb2 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5b2af6af3443 - as core::ops::function::Fn>::call::h325134fa51136753 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x5b2af6af3443 - std::panicking::rust_panic_with_hook::h67f3fa85499b6cf9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5b2af6af30fa - std::panicking::begin_panic_handler::{{closure}}::h40a30e994b26720e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5b2af6af18c9 - std::sys::backtrace::__rust_end_short_backtrace::hb5bcb2f6ea295c8b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5b2af6af2d8d - __rustc[bf3627c2b8b7eae9]::rust_begin_unwind [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5b2af6b14a80 - core::panicking::panic_fmt::h20722ae9d0312a90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5b2af6b14ee6 - core::result::unwrap_failed::h3a549f59308089dd [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/result.rs:1732:5 [INFO] [stdout] 20: 0x5b2af699cc98 - core::result::Result::unwrap::hf9b0aedc25e5196c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/result.rs:1137:23 [INFO] [stdout] 21: 0x5b2af699cc98 - vesting::testing::test_security::h07ba3bd8f60b2e1d [INFO] [stdout] at /opt/rustwide/workdir/contracts/vesting/src/testing.rs:80:5 [INFO] [stdout] 22: 0x5b2af699b737 - vesting::testing::test_security::{{closure}}::h3da59d7933b87018 [INFO] [stdout] at /opt/rustwide/workdir/contracts/vesting/src/testing.rs:27:19 [INFO] [stdout] 23: 0x5b2af6983206 - core::ops::function::FnOnce::call_once::h40da6f73185d6949 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5b2af6a028eb - core::ops::function::FnOnce::call_once::h57f6f31c364c320b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5b2af6a028eb - test::__rust_begin_short_backtrace::h517520f4c2bfc013 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x5b2af6a01b42 - test::run_test_in_process::{{closure}}::h0914ac5f2719bf90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:60 [INFO] [stdout] 27: 0x5b2af6a01b42 - as core::ops::function::FnOnce<()>>::call_once::h6fe627a8560ee122 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5b2af6a01b42 - std::panicking::try::do_call::h8e4a522b2d07b5d9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x5b2af6a01b42 - std::panicking::try::h254b443d279d1f8a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x5b2af6a01b42 - std::panic::catch_unwind::he39107e495b94aed [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5b2af6a01b42 - test::run_test_in_process::hb9053e7102e6de40 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x5b2af6a01b42 - test::run_test::{{closure}}::hed53f683e9967fc9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x5b2af69c4f34 - test::run_test::{{closure}}::h1b1395a97621c24c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x5b2af69c4f34 - std::sys::backtrace::__rust_begin_short_backtrace::hd15d7342920b94e4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x5b2af69c895a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf7d3403d2a997ad4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5b2af69c895a - as core::ops::function::FnOnce<()>>::call_once::h804cb151403aed57 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5b2af69c895a - std::panicking::try::do_call::h83a3328114f83651 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x5b2af69c895a - std::panicking::try::h5371451a86d476d0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x5b2af69c895a - std::panic::catch_unwind::h2d1b89e7535ca74a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5b2af69c895a - std::thread::Builder::spawn_unchecked_::{{closure}}::h169c242c7f876b92 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5b2af69c895a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4115e0f997976371 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5b2af6af4ceb - as core::ops::function::FnOnce>::call_once::hbc3fa83432d7fd73 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x5b2af6af4ceb - as core::ops::function::FnOnce>::call_once::heba5519d10f2c030 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x5b2af6af4ceb - std::sys::pal::unix::thread::Thread::new::thread_start::h211a36f354245501 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x77d1be107aa4 - [INFO] [stdout] 46: 0x77d1be194a34 - clone [INFO] [stdout] 47: 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.48s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p vesting --lib` [INFO] running `Command { std: "docker" "inspect" "390067dea115b739e63d22b9fa2be1ecee82fbb38588ef93c5535f27c69e4b2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "390067dea115b739e63d22b9fa2be1ecee82fbb38588ef93c5535f27c69e4b2d", kill_on_drop: false }` [INFO] [stdout] 390067dea115b739e63d22b9fa2be1ecee82fbb38588ef93c5535f27c69e4b2d