[INFO] crate ecopay2 0.1.0 is already in cache [INFO] testing ecopay2-0.1.0 against 1.44.0 for beta-1.45-1 [INFO] extracting crate ecopay2 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate ecopay2 0.1.0 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate ecopay2 0.1.0 [INFO] finished tweaking crates.io crate ecopay2 0.1.0 [INFO] tweaked toml for crates.io crate ecopay2 0.1.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate ecopay2 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 49326ba7363eada5d51ab5ef64d53e506d2e9bc23b97457b7f1d5ff252aaf9e8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "49326ba7363eada5d51ab5ef64d53e506d2e9bc23b97457b7f1d5ff252aaf9e8"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling schemars v0.5.1 [INFO] [stderr] Compiling snafu-derive v0.5.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling snafu v0.5.0 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling schemars_derive v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling serde-json-wasm v0.1.3 [INFO] [stderr] Compiling cosmwasm v0.7.2 [INFO] [stderr] Compiling cw-storage v0.2.0 [INFO] [stderr] Compiling ecopay2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `snafu::ResultExt` [INFO] [stderr] --> src/contract.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use snafu::ResultExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `cosmwasm::serde::to_vec` [INFO] [stderr] --> src/contract.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use cosmwasm::serde::to_vec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SerializeErr`, `dyn_contract_err`, `unauthorized` [INFO] [stderr] --> src/contract.rs:7:38 [INFO] [stderr] | [INFO] [stderr] 7 | use cosmwasm::errors::{contract_err, dyn_contract_err, unauthorized, Unauthorized, Result, SerializeErr}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:94:8 [INFO] [stderr] | [INFO] [stderr] 94 | if (env.message.signer != state.oracle) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | else if (state.is_locked == Some(1)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:101:15 [INFO] [stderr] | [INFO] [stderr] 101 | } else if (state.status == "DONE") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:105:12 [INFO] [stderr] | [INFO] [stderr] 105 | if (state.ecostate > ecostate) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:108:16 [INFO] [stderr] | [INFO] [stderr] 108 | if (ecostate / 100 > 1) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | if (payout > total_tokens) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:169:12 [INFO] [stderr] | [INFO] [stderr] 169 | if (env.message.signer != state.owner) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:184:12 [INFO] [stderr] | [INFO] [stderr] 184 | if (env.message.signer != state.owner) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:200:12 [INFO] [stderr] | [INFO] [stderr] 200 | if (env.message.signer != state.owner) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CanonicalAddr`, `Coin` [INFO] [stderr] --> src/msg.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use cosmwasm::types::{Coin, CanonicalAddr, HumanAddr}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Coin`, `CosmosMsg`, `Response`, `log` [INFO] [stderr] --> src/state.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use cosmwasm::types::{log, CanonicalAddr, Coin, CosmosMsg, Env, Response}; [INFO] [stderr] | ^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `balances_store` [INFO] [stderr] --> src/contract.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balances_store` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/contract.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 16 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.64s [INFO] running `"docker" "inspect" "49326ba7363eada5d51ab5ef64d53e506d2e9bc23b97457b7f1d5ff252aaf9e8"` [INFO] running `"docker" "rm" "-f" "49326ba7363eada5d51ab5ef64d53e506d2e9bc23b97457b7f1d5ff252aaf9e8"` [INFO] [stdout] 49326ba7363eada5d51ab5ef64d53e506d2e9bc23b97457b7f1d5ff252aaf9e8 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 822ad54ea63e2e13080f2e4f761c4294670cd70f7ddf9d8e42abb1380de46abe [INFO] running `"docker" "start" "-a" "822ad54ea63e2e13080f2e4f761c4294670cd70f7ddf9d8e42abb1380de46abe"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling cranelift-entity v0.52.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.52.0 [INFO] [stderr] Compiling target-lexicon v0.9.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling wasmparser v0.45.2 [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling blake3 v0.1.5 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling raw-cpuid v7.0.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling serde-bench v0.0.7 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling serde_bytes v0.11.3 [INFO] [stderr] Compiling cranelift-codegen-meta v0.52.0 [INFO] [stderr] Compiling cranelift-bforest v0.52.0 [INFO] [stderr] warning: unused import: `snafu::ResultExt` [INFO] [stderr] --> src/contract.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use snafu::ResultExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `cosmwasm::serde::to_vec` [INFO] [stderr] --> src/contract.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use cosmwasm::serde::to_vec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SerializeErr`, `dyn_contract_err`, `unauthorized` [INFO] [stderr] --> src/contract.rs:7:38 [INFO] [stderr] | [INFO] [stderr] 7 | use cosmwasm::errors::{contract_err, dyn_contract_err, unauthorized, Unauthorized, Result, SerializeErr}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:94:8 [INFO] [stderr] | [INFO] [stderr] 94 | if (env.message.signer != state.oracle) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | else if (state.is_locked == Some(1)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:101:15 [INFO] [stderr] | [INFO] [stderr] 101 | } else if (state.status == "DONE") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:105:12 [INFO] [stderr] | [INFO] [stderr] 105 | if (state.ecostate > ecostate) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:108:16 [INFO] [stderr] | [INFO] [stderr] 108 | if (ecostate / 100 > 1) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | if (payout > total_tokens) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:169:12 [INFO] [stderr] | [INFO] [stderr] 169 | if (env.message.signer != state.owner) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:184:12 [INFO] [stderr] | [INFO] [stderr] 184 | if (env.message.signer != state.owner) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:200:12 [INFO] [stderr] | [INFO] [stderr] 200 | if (env.message.signer != state.owner) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CanonicalAddr`, `Coin` [INFO] [stderr] --> src/msg.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use cosmwasm::types::{Coin, CanonicalAddr, HumanAddr}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Coin`, `CosmosMsg`, `Response`, `log` [INFO] [stderr] --> src/state.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use cosmwasm::types::{log, CanonicalAddr, Coin, CosmosMsg, Env, Response}; [INFO] [stderr] | ^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `balances_store` [INFO] [stderr] --> src/contract.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balances_store` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/contract.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 16 warnings emitted [INFO] [stderr] [INFO] [stderr] Compiling wasmer-runtime-core v0.14.1 [INFO] [stderr] Compiling thiserror v1.0.15 [INFO] [stderr] Compiling parking_lot_core v0.7.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling errno v0.2.5 [INFO] [stderr] Compiling page_size v0.4.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling ahash v0.2.18 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling lru v0.3.1 [INFO] [stderr] Compiling cranelift-codegen v0.52.0 [INFO] [stderr] Compiling wasmer-middleware-common v0.14.1 [INFO] [stderr] Compiling wasmer-clif-fork-frontend v0.52.0 [INFO] [stderr] Compiling cranelift-native v0.52.0 [INFO] [stderr] Compiling wasmer-clif-fork-wasm v0.52.0 [INFO] [stderr] Compiling wasmer-clif-backend v0.14.1 [INFO] [stderr] Compiling cosmwasm-vm v0.7.2 [INFO] [stderr] Compiling ecopay2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `ecopay2::msg::CountResponse` [INFO] [stderr] --> examples/schema.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | use ecopay2::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg}; [INFO] [stderr] | ^^^^^^^^^^^^^ no `CountResponse` in `msg` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `ecopay2`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: couldn't read tests/../target/wasm32-unknown-unknown/release/ecopay2.wasm: No such file or directory (os error 2) [INFO] [stderr] --> tests/integration.rs:39:22 [INFO] [stderr] | [INFO] [stderr] 39 | static WASM: &[u8] = include_bytes!("../target/wasm32-unknown-unknown/release/ecopay2.wasm"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `ecopay2::msg::CountResponse` [INFO] [stderr] --> tests/integration.rs:36:20 [INFO] [stderr] | [INFO] [stderr] 36 | use ecopay2::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg}; [INFO] [stderr] | ^^^^^^^^^^^^^ no `CountResponse` in `msg` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `ecopay2::msg::InitMsg` has no field named `count` [INFO] [stderr] --> tests/integration.rs:47:25 [INFO] [stderr] | [INFO] [stderr] 47 | let msg = InitMsg { count: 17 }; [INFO] [stderr] | ^^^^^ `ecopay2::msg::InitMsg` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `region`, `beneficiary`, `oracle`, `ecostate`, `total_tokens` ... and 3 others [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant named `GetCount` found for enum `ecopay2::msg::QueryMsg` [INFO] [stderr] --> tests/integration.rs:55:42 [INFO] [stderr] | [INFO] [stderr] 55 | let res = query(&mut deps, QueryMsg::GetCount {}).unwrap(); [INFO] [stderr] | ^^^^^^^^ variant not found in `ecopay2::msg::QueryMsg` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `ecopay2::msg::InitMsg` has no field named `count` [INFO] [stderr] --> tests/integration.rs:64:25 [INFO] [stderr] | [INFO] [stderr] 64 | let msg = InitMsg { count: 17 }; [INFO] [stderr] | ^^^^^ `ecopay2::msg::InitMsg` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `region`, `beneficiary`, `oracle`, `ecostate`, `total_tokens` ... and 3 others [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant named `Increment` found for enum `ecopay2::msg::HandleMsg` [INFO] [stderr] --> tests/integration.rs:75:26 [INFO] [stderr] | [INFO] [stderr] 75 | let msg = HandleMsg::Increment {}; [INFO] [stderr] | ^^^^^^^^^ variant not found in `ecopay2::msg::HandleMsg` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant named `GetCount` found for enum `ecopay2::msg::QueryMsg` [INFO] [stderr] --> tests/integration.rs:79:42 [INFO] [stderr] | [INFO] [stderr] 79 | let res = query(&mut deps, QueryMsg::GetCount {}).unwrap(); [INFO] [stderr] | ^^^^^^^^ variant not found in `ecopay2::msg::QueryMsg` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `ecopay2::msg::InitMsg` has no field named `count` [INFO] [stderr] --> tests/integration.rs:88:25 [INFO] [stderr] | [INFO] [stderr] 88 | let msg = InitMsg { count: 17 }; [INFO] [stderr] | ^^^^^ `ecopay2::msg::InitMsg` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `region`, `beneficiary`, `oracle`, `ecostate`, `total_tokens` ... and 3 others [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant named `Reset` found for enum `ecopay2::msg::HandleMsg` [INFO] [stderr] --> tests/integration.rs:99:26 [INFO] [stderr] | [INFO] [stderr] 99 | let msg = HandleMsg::Reset { count: 5 }; [INFO] [stderr] | ^^^^^ variant not found in `ecopay2::msg::HandleMsg` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant named `Reset` found for enum `ecopay2::msg::HandleMsg` [INFO] [stderr] --> tests/integration.rs:108:26 [INFO] [stderr] | [INFO] [stderr] 108 | let msg = HandleMsg::Reset { count: 5 }; [INFO] [stderr] | ^^^^^ variant not found in `ecopay2::msg::HandleMsg` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant named `GetCount` found for enum `ecopay2::msg::QueryMsg` [INFO] [stderr] --> tests/integration.rs:112:42 [INFO] [stderr] | [INFO] [stderr] 112 | let res = query(&mut deps, QueryMsg::GetCount {}).unwrap(); [INFO] [stderr] | ^^^^^^^^ variant not found in `ecopay2::msg::QueryMsg` [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0560, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `ecopay2`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused import: `snafu::ResultExt` [INFO] [stderr] --> src/contract.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use snafu::ResultExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `cosmwasm::serde::to_vec` [INFO] [stderr] --> src/contract.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use cosmwasm::serde::to_vec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SerializeErr`, `dyn_contract_err`, `unauthorized` [INFO] [stderr] --> src/contract.rs:7:38 [INFO] [stderr] | [INFO] [stderr] 7 | use cosmwasm::errors::{contract_err, dyn_contract_err, unauthorized, Unauthorized, Result, SerializeErr}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:94:8 [INFO] [stderr] | [INFO] [stderr] 94 | if (env.message.signer != state.oracle) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | else if (state.is_locked == Some(1)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:101:15 [INFO] [stderr] | [INFO] [stderr] 101 | } else if (state.status == "DONE") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:105:12 [INFO] [stderr] | [INFO] [stderr] 105 | if (state.ecostate > ecostate) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:108:16 [INFO] [stderr] | [INFO] [stderr] 108 | if (ecostate / 100 > 1) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | if (payout > total_tokens) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:169:12 [INFO] [stderr] | [INFO] [stderr] 169 | if (env.message.signer != state.owner) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:184:12 [INFO] [stderr] | [INFO] [stderr] 184 | if (env.message.signer != state.owner) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/contract.rs:200:12 [INFO] [stderr] | [INFO] [stderr] 200 | if (env.message.signer != state.owner) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `cosmwasm::errors::Error` [INFO] [stderr] --> src/contract.rs:293:9 [INFO] [stderr] | [INFO] [stderr] 293 | use cosmwasm::errors::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CanonicalAddr`, `Coin` [INFO] [stderr] --> src/msg.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use cosmwasm::types::{Coin, CanonicalAddr, HumanAddr}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Coin`, `CosmosMsg`, `Response`, `log` [INFO] [stderr] --> src/state.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use cosmwasm::types::{log, CanonicalAddr, Coin, CosmosMsg, Env, Response}; [INFO] [stderr] | ^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `balances_store` [INFO] [stderr] --> src/contract.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balances_store` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `beneficiary` [INFO] [stderr] --> src/contract.rs:327:13 [INFO] [stderr] | [INFO] [stderr] 327 | let beneficiary = deps [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_beneficiary` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/contract.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 18 warnings emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "822ad54ea63e2e13080f2e4f761c4294670cd70f7ddf9d8e42abb1380de46abe"` [INFO] running `"docker" "rm" "-f" "822ad54ea63e2e13080f2e4f761c4294670cd70f7ddf9d8e42abb1380de46abe"` [INFO] [stdout] 822ad54ea63e2e13080f2e4f761c4294670cd70f7ddf9d8e42abb1380de46abe