[INFO] fetching crate ecopay2 0.1.0... [INFO] checking ecopay2-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate ecopay2 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate ecopay2 0.1.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config [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-1/source/Cargo.toml [INFO] crate crates.io crate ecopay2 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded errno v0.2.5 [INFO] [stderr] Downloaded dynasmrt v0.5.2 [INFO] [stderr] Downloaded snafu v0.5.0 [INFO] [stderr] Downloaded schemars v0.5.1 [INFO] [stderr] Downloaded dynasm v0.5.2 [INFO] [stderr] Downloaded snafu-derive v0.5.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.52.0 [INFO] [stderr] Downloaded cranelift-entity v0.52.0 [INFO] [stderr] Downloaded wasmer-win-exception-handler v0.14.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.52.0 [INFO] [stderr] Downloaded serde_bytes v0.11.3 [INFO] [stderr] Downloaded serde-bench v0.0.7 [INFO] [stderr] Downloaded blake3 v0.1.5 [INFO] [stderr] Downloaded thiserror-impl v1.0.15 [INFO] [stderr] Downloaded cranelift-bforest v0.52.0 [INFO] [stderr] Downloaded parking_lot_core v0.7.1 [INFO] [stderr] Downloaded lru v0.3.1 [INFO] [stderr] Downloaded cw-storage v0.2.0 [INFO] [stderr] Downloaded target-lexicon v0.9.0 [INFO] [stderr] Downloaded raw-cpuid v7.0.3 [INFO] [stderr] Downloaded cranelift-native v0.52.0 [INFO] [stderr] Downloaded wasmer-clif-fork-wasm v0.52.0 [INFO] [stderr] Downloaded cosmwasm v0.7.2 [INFO] [stderr] Downloaded wasmer-middleware-common v0.14.1 [INFO] [stderr] Downloaded wasmer-runtime-core v0.14.1 [INFO] [stderr] Downloaded wasmer-singlepass-backend v0.14.1 [INFO] [stderr] Downloaded cosmwasm-vm v0.7.2 [INFO] [stderr] Downloaded wasmer-clif-fork-frontend v0.52.0 [INFO] [stderr] Downloaded wasmparser v0.45.2 [INFO] [stderr] Downloaded serde-json-wasm v0.1.3 [INFO] [stderr] Downloaded schemars_derive v0.5.0 [INFO] [stderr] Downloaded thiserror v1.0.15 [INFO] [stderr] Downloaded cranelift-codegen v0.52.0 [INFO] [stderr] Downloaded wasmer-clif-backend v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8a8471823808b0f813e2eb51b25ba87aabf5d3cb9d80a8dd5286e0ab946911d4 [INFO] running `Command { std: "docker" "start" "-a" "8a8471823808b0f813e2eb51b25ba87aabf5d3cb9d80a8dd5286e0ab946911d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a8471823808b0f813e2eb51b25ba87aabf5d3cb9d80a8dd5286e0ab946911d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a8471823808b0f813e2eb51b25ba87aabf5d3cb9d80a8dd5286e0ab946911d4", kill_on_drop: false }` [INFO] [stdout] 8a8471823808b0f813e2eb51b25ba87aabf5d3cb9d80a8dd5286e0ab946911d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7abf9c222d43ea48a224c26640767b9d6affea933b6ec7ec2d6b16cf1e894fde [INFO] running `Command { std: "docker" "start" "-a" "7abf9c222d43ea48a224c26640767b9d6affea933b6ec7ec2d6b16cf1e894fde", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking smallvec v1.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling cranelift-entity v0.52.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.52.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling target-lexicon v0.9.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling arrayref v0.3.6 [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 proc-macro-hack v0.5.15 [INFO] [stderr] Compiling schemars v0.5.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking wasmparser v0.45.2 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling blake3 v0.1.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling cranelift-codegen-meta v0.52.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking cranelift-bforest v0.52.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling raw-cpuid v7.0.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking parking_lot_core v0.7.1 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Checking errno v0.2.5 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling wasmer-runtime-core v0.14.1 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking ahash v0.2.18 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Checking lru v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling schemars_derive v0.5.0 [INFO] [stderr] Compiling snafu-derive v0.5.0 [INFO] [stderr] Checking thiserror v1.0.15 [INFO] [stderr] Compiling cranelift-codegen v0.52.0 [INFO] [stderr] Checking snafu v0.5.0 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking serde-bench v0.0.7 [INFO] [stderr] Checking serde-json-wasm v0.1.3 [INFO] [stderr] Checking serde_bytes v0.11.3 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking wasmer-clif-fork-frontend v0.52.0 [INFO] [stderr] Checking cranelift-native v0.52.0 [INFO] [stderr] Checking cosmwasm v0.7.2 [INFO] [stderr] Checking wasmer-clif-fork-wasm v0.52.0 [INFO] [stderr] Checking cw-storage v0.2.0 [INFO] [stderr] Checking ecopay2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `snafu::ResultExt` [INFO] [stdout] --> src/contract.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use snafu::ResultExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cosmwasm::serde::to_vec` [INFO] [stdout] --> src/contract.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm::serde::to_vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SerializeErr`, `dyn_contract_err`, `unauthorized` [INFO] [stdout] --> src/contract.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use cosmwasm::errors::{contract_err, dyn_contract_err, unauthorized, Unauthorized, Result, SerializeErr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | if (env.message.signer != state.oracle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | else if (state.is_locked == Some(1)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | } else if (state.status == "DONE") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if (state.ecostate > ecostate) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | if (ecostate / 100 > 1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | if (payout > total_tokens) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | if (env.message.signer != state.owner) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | if (env.message.signer != state.owner) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | if (env.message.signer != state.owner) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CanonicalAddr`, `Coin` [INFO] [stdout] --> src/msg.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm::types::{Coin, CanonicalAddr, HumanAddr}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coin`, `CosmosMsg`, `Response`, `log` [INFO] [stdout] --> src/state.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm::types::{log, CanonicalAddr, Coin, CosmosMsg, Env, Response}; [INFO] [stdout] | ^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balances_store` [INFO] [stdout] --> src/contract.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balances_store` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasmer-middleware-common v0.14.1 [INFO] [stderr] Checking wasmer-clif-backend v0.14.1 [INFO] [stderr] Checking cosmwasm-vm v0.7.2 [INFO] [stdout] error[E0432]: unresolved import `ecopay2::msg::CountResponse` [INFO] [stdout] --> examples/schema.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use ecopay2::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^ no `CountResponse` in `msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [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] [stdout] error: couldn't read tests/../target/wasm32-unknown-unknown/release/ecopay2.wasm: No such file or directory (os error 2) [INFO] [stdout] --> tests/integration.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | static WASM: &[u8] = include_bytes!("../target/wasm32-unknown-unknown/release/ecopay2.wasm"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ecopay2::msg::CountResponse` [INFO] [stdout] --> tests/integration.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | use ecopay2::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^ no `CountResponse` in `msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `InitMsg` has no field named `count` [INFO] [stdout] --> tests/integration.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let msg = InitMsg { count: 17 }; [INFO] [stdout] | ^^^^^ `InitMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `region`, `beneficiary`, `oracle`, `ecostate`, `total_tokens` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `GetCount` found for enum `QueryMsg` [INFO] [stdout] --> tests/integration.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | let res = query(&mut deps, QueryMsg::GetCount {}).unwrap(); [INFO] [stdout] | ^^^^^^^^ variant not found in `QueryMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `InitMsg` has no field named `count` [INFO] [stdout] --> tests/integration.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | let msg = InitMsg { count: 17 }; [INFO] [stdout] | ^^^^^ `InitMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `region`, `beneficiary`, `oracle`, `ecostate`, `total_tokens` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Increment` found for enum `HandleMsg` [INFO] [stdout] --> tests/integration.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | let msg = HandleMsg::Increment {}; [INFO] [stdout] | ^^^^^^^^^ variant not found in `HandleMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `GetCount` found for enum `QueryMsg` [INFO] [stdout] --> tests/integration.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | let res = query(&mut deps, QueryMsg::GetCount {}).unwrap(); [INFO] [stdout] | ^^^^^^^^ variant not found in `QueryMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `InitMsg` has no field named `count` [INFO] [stdout] --> tests/integration.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | let msg = InitMsg { count: 17 }; [INFO] [stdout] | ^^^^^ `InitMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `region`, `beneficiary`, `oracle`, `ecostate`, `total_tokens` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Reset` found for enum `HandleMsg` [INFO] [stdout] --> tests/integration.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | let msg = HandleMsg::Reset { count: 5 }; [INFO] [stdout] | ^^^^^ variant not found in `HandleMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Reset` found for enum `HandleMsg` [INFO] [stdout] --> tests/integration.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | let msg = HandleMsg::Reset { count: 5 }; [INFO] [stdout] | ^^^^^ variant not found in `HandleMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `GetCount` found for enum `QueryMsg` [INFO] [stdout] --> tests/integration.rs:112:42 [INFO] [stdout] | [INFO] [stdout] 112 | let res = query(&mut deps, QueryMsg::GetCount {}).unwrap(); [INFO] [stdout] | ^^^^^^^^ variant not found in `QueryMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `snafu::ResultExt` [INFO] [stdout] --> src/contract.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use snafu::ResultExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cosmwasm::serde::to_vec` [INFO] [stdout] --> src/contract.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm::serde::to_vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SerializeErr`, `dyn_contract_err`, `unauthorized` [INFO] [stdout] --> src/contract.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use cosmwasm::errors::{contract_err, dyn_contract_err, unauthorized, Unauthorized, Result, SerializeErr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | if (env.message.signer != state.oracle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | else if (state.is_locked == Some(1)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | } else if (state.status == "DONE") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if (state.ecostate > ecostate) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | if (ecostate / 100 > 1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | if (payout > total_tokens) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | if (env.message.signer != state.owner) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | if (env.message.signer != state.owner) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/contract.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | if (env.message.signer != state.owner) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cosmwasm::errors::Error` [INFO] [stdout] --> src/contract.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | use cosmwasm::errors::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CanonicalAddr`, `Coin` [INFO] [stdout] --> src/msg.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm::types::{Coin, CanonicalAddr, HumanAddr}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coin`, `CosmosMsg`, `Response`, `log` [INFO] [stdout] --> src/state.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use cosmwasm::types::{log, CanonicalAddr, Coin, CosmosMsg, Env, Response}; [INFO] [stdout] | ^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balances_store` [INFO] [stdout] --> src/contract.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balances_store` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beneficiary` [INFO] [stdout] --> src/contract.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | let beneficiary = deps [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_beneficiary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7abf9c222d43ea48a224c26640767b9d6affea933b6ec7ec2d6b16cf1e894fde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7abf9c222d43ea48a224c26640767b9d6affea933b6ec7ec2d6b16cf1e894fde", kill_on_drop: false }` [INFO] [stdout] 7abf9c222d43ea48a224c26640767b9d6affea933b6ec7ec2d6b16cf1e894fde