[INFO] cloning repository https://github.com/enigmampc/scrt-finance-rewards [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enigmampc/scrt-finance-rewards" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fscrt-finance-rewards", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fscrt-finance-rewards'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72a360efb5d02888e6cd9968d9ff15fa26688efd [INFO] testing enigmampc/scrt-finance-rewards against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fscrt-finance-rewards" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enigmampc/scrt-finance-rewards on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/enigmampc/scrt-finance-rewards [INFO] finished tweaking git repo https://github.com/enigmampc/scrt-finance-rewards [INFO] tweaked toml for git repo https://github.com/enigmampc/scrt-finance-rewards written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/enigmampc/scrt-finance-rewards already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4/source/contracts/dev-fund/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4/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-4/source/contracts/lp-staking/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-json-wasm v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac2b121db768f5f81e0e3b99feed57f9ad88a78f6c420230dbb50c0ebc3a721b [INFO] running `Command { std: "docker" "start" "-a" "ac2b121db768f5f81e0e3b99feed57f9ad88a78f6c420230dbb50c0ebc3a721b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac2b121db768f5f81e0e3b99feed57f9ad88a78f6c420230dbb50c0ebc3a721b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac2b121db768f5f81e0e3b99feed57f9ad88a78f6c420230dbb50c0ebc3a721b", kill_on_drop: false }` [INFO] [stdout] ac2b121db768f5f81e0e3b99feed57f9ad88a78f6c420230dbb50c0ebc3a721b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17c57bf84b3fe10a003435557a7b4d8e0767d90ef06541a325b7d46a10c635e8 [INFO] running `Command { std: "docker" "start" "-a" "17c57bf84b3fe10a003435557a7b4d8e0767d90ef06541a325b7d46a10c635e8", 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/dev-fund/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/lp-staking/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand 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] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling serde-json-wasm v0.2.3 [INFO] [stderr] Compiling bincode2 v2.0.1 [INFO] [stderr] Compiling cosmwasm-std v0.10.0 (https://github.com/enigmampc/SecretNetwork?rev=004c6bc#004c6bca) [INFO] [stderr] Compiling secret-toolkit-serialization v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Compiling secret-toolkit-utils v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Compiling cosmwasm-storage v0.10.0 (https://github.com/enigmampc/SecretNetwork?rev=004c6bc#004c6bca) [INFO] [stderr] Compiling secret-toolkit-crypto v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Compiling secret-toolkit-storage v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Compiling secret-toolkit-snip20 v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Compiling secret-toolkit v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Compiling scrt-finance v0.1.0 (/opt/rustwide/workdir/packages/scrt-finance) [INFO] [stderr] Compiling gov-token v0.1.0 (/opt/rustwide/workdir/contracts/gov-token) [INFO] [stderr] Compiling secret-poll v0.1.0 (/opt/rustwide/workdir/contracts/secret-poll) [INFO] [stderr] Compiling weight-master v0.1.0 (/opt/rustwide/workdir/contracts/weight-master) [INFO] [stderr] Compiling cashback-token v0.1.0 (/opt/rustwide/workdir/contracts/cashback) [INFO] [stderr] Compiling cashback-minter v0.1.0 (/opt/rustwide/workdir/contracts/cashback-minter) [INFO] [stderr] Compiling lp-staking v0.1.0 (/opt/rustwide/workdir/contracts/lp-staking) [INFO] [stderr] Compiling dev-fund v0.1.0 (/opt/rustwide/workdir/contracts/dev-fund) [INFO] [stdout] warning: unused imports: `Uint128`, `WasmMsg` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | StdError, StdResult, Storage, Uint128, WasmMsg, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HumanAddr` [INFO] [stdout] --> contracts/lp-staking/src/querier.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, Api, Extern, HumanAddr, Querier, QueryRequest, StdError, StdResult, Storage, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | deps: &mut Extern, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | deps: &Extern, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | msg: QueryMsg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.37s [INFO] running `Command { std: "docker" "inspect" "17c57bf84b3fe10a003435557a7b4d8e0767d90ef06541a325b7d46a10c635e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17c57bf84b3fe10a003435557a7b4d8e0767d90ef06541a325b7d46a10c635e8", kill_on_drop: false }` [INFO] [stdout] 17c57bf84b3fe10a003435557a7b4d8e0767d90ef06541a325b7d46a10c635e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35d7e3c3f70231ddf93313ab81a7039a2b2e15dd5f8a4cd79de1865624cc6dc9 [INFO] running `Command { std: "docker" "start" "-a" "35d7e3c3f70231ddf93313ab81a7039a2b2e15dd5f8a4cd79de1865624cc6dc9", 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/dev-fund/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/lp-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 `cashback-token v0.1.0 (/opt/rustwide/workdir/contracts/cashback)` has the same output filename as the example target `schema` in package `cashback-minter v0.1.0 (/opt/rustwide/workdir/contracts/cashback-minter)`. [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 `dev-fund v0.1.0 (/opt/rustwide/workdir/contracts/dev-fund)` has the same output filename as the example target `schema` in package `cashback-token v0.1.0 (/opt/rustwide/workdir/contracts/cashback)`. [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 `gov-token v0.1.0 (/opt/rustwide/workdir/contracts/gov-token)` has the same output filename as the example target `schema` in package `dev-fund v0.1.0 (/opt/rustwide/workdir/contracts/dev-fund)`. [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 `lp-staking v0.1.0 (/opt/rustwide/workdir/contracts/lp-staking)` has the same output filename as the example target `schema` in package `gov-token v0.1.0 (/opt/rustwide/workdir/contracts/gov-token)`. [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 `secret-poll v0.1.0 (/opt/rustwide/workdir/contracts/secret-poll)` has the same output filename as the example target `schema` in package `lp-staking v0.1.0 (/opt/rustwide/workdir/contracts/lp-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 `weight-master v0.1.0 (/opt/rustwide/workdir/contracts/weight-master)` has the same output filename as the example target `schema` in package `secret-poll v0.1.0 (/opt/rustwide/workdir/contracts/secret-poll)`. [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] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cbindgen v0.13.2 [INFO] [stderr] Compiling sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling cosmwasm-std v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [INFO] [stderr] Compiling cosmwasm-schema v0.9.4 [INFO] [stderr] Compiling scrt-finance v0.1.0 (/opt/rustwide/workdir/packages/scrt-finance) [INFO] [stderr] Compiling cashback-minter v0.1.0 (/opt/rustwide/workdir/contracts/cashback-minter) [INFO] [stderr] Compiling dev-fund v0.1.0 (/opt/rustwide/workdir/contracts/dev-fund) [INFO] [stdout] warning: unused import: `HumanAddr` [INFO] [stdout] --> contracts/lp-staking/src/querier.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, Api, Extern, HumanAddr, Querier, QueryRequest, StdError, StdResult, Storage, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Uint128`, `WasmMsg` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | StdError, StdResult, Storage, Uint128, WasmMsg, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | deps: &mut Extern, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | deps: &Extern, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | msg: QueryMsg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lp-staking v0.1.0 (/opt/rustwide/workdir/contracts/lp-staking) [INFO] [stderr] Compiling weight-master v0.1.0 (/opt/rustwide/workdir/contracts/weight-master) [INFO] [stderr] Compiling secret-poll v0.1.0 (/opt/rustwide/workdir/contracts/secret-poll) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `weight_master` [INFO] [stdout] --> contracts/secret-poll/examples/schema.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use weight_master::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `weight_master` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `weight_master` [INFO] [stdout] --> contracts/secret-poll/examples/schema.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use weight_master::state::State; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `weight_master` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_schema` [INFO] [stdout] --> contracts/secret-poll/examples/schema.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_schema::{export_schema, remove_schemas, schema_for}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `cosmwasm_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> contracts/secret-poll/examples/schema.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | export_schema(&schema_for!(CountResponse), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> contracts/secret-poll/examples/schema.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | export_schema(&schema_for!(State), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> contracts/secret-poll/examples/schema.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | export_schema(&schema_for!(QueryMsg), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> contracts/secret-poll/examples/schema.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | export_schema(&schema_for!(HandleMsg), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> contracts/secret-poll/examples/schema.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | export_schema(&schema_for!(InitMsg), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `weight_master` [INFO] [stdout] --> contracts/cashback-minter/examples/schema.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use weight_master::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `weight_master` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `weight_master` [INFO] [stdout] --> contracts/cashback-minter/examples/schema.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use weight_master::state::State; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `weight_master` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_schema` [INFO] [stdout] --> contracts/cashback-minter/examples/schema.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_schema::{export_schema, remove_schemas, schema_for}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `cosmwasm_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> contracts/cashback-minter/examples/schema.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | export_schema(&schema_for!(CountResponse), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> contracts/cashback-minter/examples/schema.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | export_schema(&schema_for!(State), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> contracts/cashback-minter/examples/schema.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | export_schema(&schema_for!(QueryMsg), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> contracts/cashback-minter/examples/schema.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | export_schema(&schema_for!(HandleMsg), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> contracts/cashback-minter/examples/schema.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | export_schema(&schema_for!(InitMsg), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cashback-minter` [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[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | //! It depends on a Wasm build being available, which you can create with `cargo wasm`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | //! Then running `cargo integration-test` will validate we can properly call into that generated Wasm. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | //! [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | //! You can easily convert unit tests to integration tests. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | //! 1. First copy them over verbatum, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | //! 2. Then change [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | //! let mut deps = mock_dependencies(20, &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | //! to [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | //! let mut deps = mock_instance(WASM, &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | //! 3. If you access raw storage, where ever you see something like: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | //! deps.storage.get(CONFIG_KEY).expect("no data stored"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | //! replace it with: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | //! deps.with_storage(|store| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | //! let data = store.get(CONFIG_KEY).expect("no data stored"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | //! //... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | //! }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | //! 4. Anywhere you see query(&deps, ...) you must replace it with query(&mut deps, ...) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item after doc comment [INFO] [stdout] --> contracts/secret-poll/tests/integration.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 3 | / //! It depends on a Wasm build being available, which you can create with `cargo wasm`. [INFO] [stdout] 4 | | //! Then running `cargo integration-test` will validate we can properly call into that generated Wasm. [INFO] [stdout] 5 | | //! [INFO] [stdout] 6 | | //! You can easily convert unit tests to integration tests. [INFO] [stdout] ... | [INFO] [stdout] 17 | | //! //... [INFO] [stdout] 18 | | //! }); [INFO] [stdout] | |____________- other attributes here [INFO] [stdout] 19 | //! 4. Anywhere you see query(&deps, ...) you must replace it with query(&mut deps, ...) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this doc comment doesn't document anything [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0753`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> contracts/weight-master/src/contract.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mock_dependencies`, `mock_env` [INFO] [stdout] --> contracts/weight-master/src/contract.rs:381:33 [INFO] [stdout] | [INFO] [stdout] 381 | use cosmwasm_std::testing::{mock_dependencies, mock_env}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StdError`, `coins`, `from_binary` [INFO] [stdout] --> contracts/weight-master/src/contract.rs:382:24 [INFO] [stdout] | [INFO] [stdout] 382 | use cosmwasm_std::{coins, from_binary, StdError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Uint128`, `WasmMsg` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | StdError, StdResult, Storage, Uint128, WasmMsg, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mock_dependencies`, `mock_env` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:138:33 [INFO] [stdout] | [INFO] [stdout] 138 | use cosmwasm_std::testing::{mock_dependencies, mock_env}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StdError`, `coins`, `from_binary` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | use cosmwasm_std::{coins, from_binary, StdError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_schema` [INFO] [stdout] --> contracts/weight-master/examples/schema.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_schema::{export_schema, remove_schemas, schema_for}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `cosmwasm_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `weight_master::msg` [INFO] [stdout] --> contracts/weight-master/examples/schema.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use weight_master::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg}; [INFO] [stdout] | ^^^ could not find `msg` in `weight_master` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> contracts/weight-master/examples/schema.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | export_schema(&schema_for!(CountResponse), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> contracts/weight-master/examples/schema.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | export_schema(&schema_for!(State), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> contracts/weight-master/examples/schema.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | export_schema(&schema_for!(QueryMsg), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> contracts/weight-master/examples/schema.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | export_schema(&schema_for!(HandleMsg), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> contracts/weight-master/examples/schema.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | export_schema(&schema_for!(InitMsg), &out_dir); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `weight_master::state::State` [INFO] [stdout] --> contracts/weight-master/examples/schema.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use weight_master::state::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `msg` in the crate root [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:667:16 [INFO] [stdout] | [INFO] [stdout] 667 | use crate::msg::LPStakingHandleMsg::{Receive, Redeem, SetViewingKey}; [INFO] [stdout] | ^^^ could not find `msg` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `msg` in the crate root [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:668:16 [INFO] [stdout] | [INFO] [stdout] 668 | use crate::msg::LPStakingQueryMsg::{Deposit, Rewards}; [INFO] [stdout] | ^^^ could not find `msg` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::msg` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:669:16 [INFO] [stdout] | [INFO] [stdout] 669 | use crate::msg::LPStakingReceiveMsg; [INFO] [stdout] | ^^^ could not find `msg` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `scrt_finance::master_msg::LPStakingHandleMsg` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:679:35 [INFO] [stdout] | [INFO] [stdout] 679 | use scrt_finance::master_msg::LPStakingHandleMsg::SetViewingKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ could not find `LPStakingHandleMsg` in `master_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `block` in this scope [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:810:62 [INFO] [stdout] | [INFO] [stdout] 810 | println!("####### Statistics for block: {} #######", block); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deposit_rewards` in this scope [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:922:9 [INFO] [stdout] | [INFO] [stdout] 922 | deposit_rewards(&mut deps, mock_env("scrt", &[], 1), rewards).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `SecretContract` is private [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:670:23 [INFO] [stdout] | [INFO] [stdout] 670 | use crate::state::SecretContract; [INFO] [stdout] | ^^^^^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `SecretContract` is defined here... [INFO] [stdout] --> contracts/lp-staking/src/state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use scrt_finance::types::SecretContract; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `SecretContract` which is defined here [INFO] [stdout] --> /opt/rustwide/workdir/packages/scrt-finance/src/types.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SecretContract { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Empty`, `coins` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:675:9 [INFO] [stdout] | [INFO] [stdout] 675 | coins, from_binary, BlockInfo, Coin, ContractInfo, Empty, MessageInfo, StdError, WasmMsg, [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HumanAddr` [INFO] [stdout] --> contracts/lp-staking/src/querier.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, Api, Extern, HumanAddr, Querier, QueryRequest, StdError, StdResult, Storage, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | deps: &mut Extern, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | deps: &Extern, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> contracts/secret-poll/src/contract.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | msg: QueryMsg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `deadline` on type `state::Config` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:771:38 [INFO] [stdout] | [INFO] [stdout] 771 | let current = config.deadline as f64; [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `admin`, `reward_token`, `inc_token`, `master`, `viewing_key` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `SetDeadline` found for enum `scrt_finance::lp_staking_msg::LPStakingHandleMsg` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:775:47 [INFO] [stdout] | [INFO] [stdout] 775 | let msg = LPStakingHandleMsg::SetDeadline { block: new as u64 }; [INFO] [stdout] | ^^^^^^^^^^^ variant not found in `scrt_finance::lp_staking_msg::LPStakingHandleMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `DepositRewards` found for enum `scrt_finance::lp_staking_msg::LPStakingReceiveMsg` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:786:58 [INFO] [stdout] | [INFO] [stdout] 786 | msg: to_binary(&LPStakingReceiveMsg::DepositRewards {}).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^ variant not found in `scrt_finance::lp_staking_msg::LPStakingReceiveMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `deadline` on type `state::Config` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:811:41 [INFO] [stdout] | [INFO] [stdout] 811 | println!("Deadline: {}", config.deadline); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `admin`, `reward_token`, `inc_token`, `master`, `viewing_key` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pending_rewards` on type `scrt_finance::types::RewardPool` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:813:53 [INFO] [stdout] | [INFO] [stdout] 813 | println!("Pending rewards: {}", reward_pool.pending_rewards); [INFO] [stdout] | ^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `residue`, `inc_token_supply`, `acc_reward_per_share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `last_reward_block` on type `scrt_finance::types::RewardPool` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:818:55 [INFO] [stdout] | [INFO] [stdout] 818 | println!("Last reward block: {}", reward_pool.last_reward_block); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `residue`, `inc_token_supply`, `acc_reward_per_share` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `scrt_finance::lp_staking_msg::LPStakingQueryMsg::Rewards` has no field named `new_rewards` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:842:13 [INFO] [stdout] | [INFO] [stdout] 842 | new_rewards: new_mint, [INFO] [stdout] | ^^^^^^^^^^^ `scrt_finance::lp_staking_msg::LPStakingQueryMsg::Rewards` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `address`, `key`, `height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `DepositRewards` found for enum `scrt_finance::lp_staking_msg::LPStakingReceiveMsg` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:909:42 [INFO] [stdout] | [INFO] [stdout] 909 | LPStakingReceiveMsg::DepositRewards {} => amount.u128(), [INFO] [stdout] | ^^^^^^^^^^^^^^ variant not found in `scrt_finance::lp_staking_msg::LPStakingReceiveMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:953:52 [INFO] [stdout] | [INFO] [stdout] 953 | print_status(&deps, users.clone(), block); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u128`, found `u64` [INFO] [stdout] | help: you can convert a `u64` to a `u128`: `block.into()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `deadline` on type `state::Config` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:959:18 [INFO] [stdout] | [INFO] [stdout] 959 | .deadline; [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `admin`, `reward_token`, `inc_token`, `master`, `viewing_key` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `SetDeadline` found for enum `scrt_finance::lp_staking_msg::LPStakingHandleMsg` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:991:39 [INFO] [stdout] | [INFO] [stdout] 991 | let msg = LPStakingHandleMsg::SetDeadline { [INFO] [stdout] | ^^^^^^^^^^^ variant not found in `scrt_finance::lp_staking_msg::LPStakingHandleMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `DepositRewards` found for enum `scrt_finance::lp_staking_msg::LPStakingReceiveMsg` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:999:50 [INFO] [stdout] | [INFO] [stdout] 999 | msg: to_binary(&LPStakingReceiveMsg::DepositRewards {}).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^ variant not found in `scrt_finance::lp_staking_msg::LPStakingReceiveMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:1024:52 [INFO] [stdout] | [INFO] [stdout] 1024 | print_status(&deps, users.clone(), block); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u128`, found `u64` [INFO] [stdout] | help: you can convert a `u64` to a `u128`: `block.into()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `deadline` on type `state::Config` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:1030:18 [INFO] [stdout] | [INFO] [stdout] 1030 | .deadline; [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `admin`, `reward_token`, `inc_token`, `master`, `viewing_key` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `ClaimRewardPool` found for enum `scrt_finance::lp_staking_msg::LPStakingHandleMsg` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:1052:45 [INFO] [stdout] | [INFO] [stdout] 1052 | let claim_msg = LPStakingHandleMsg::ClaimRewardPool { to: None }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ variant not found in `scrt_finance::lp_staking_msg::LPStakingHandleMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0559, E0599, E0603, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "35d7e3c3f70231ddf93313ab81a7039a2b2e15dd5f8a4cd79de1865624cc6dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35d7e3c3f70231ddf93313ab81a7039a2b2e15dd5f8a4cd79de1865624cc6dc9", kill_on_drop: false }` [INFO] [stdout] 35d7e3c3f70231ddf93313ab81a7039a2b2e15dd5f8a4cd79de1865624cc6dc9