[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] 78f8907daff7bde99d2494e306d583ebe727bc5d [INFO] checking enigmampc/scrt-finance-rewards against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fscrt-finance-rewards" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enigmampc/scrt-finance-rewards on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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-2/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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-2/source/contracts/lp-staking/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30cfb6b16c6a3cf6be72bf2156bcc0d18d6b30e3bf595060e75abb8e096708d4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "30cfb6b16c6a3cf6be72bf2156bcc0d18d6b30e3bf595060e75abb8e096708d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30cfb6b16c6a3cf6be72bf2156bcc0d18d6b30e3bf595060e75abb8e096708d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30cfb6b16c6a3cf6be72bf2156bcc0d18d6b30e3bf595060e75abb8e096708d4", kill_on_drop: false }` [INFO] [stdout] 30cfb6b16c6a3cf6be72bf2156bcc0d18d6b30e3bf595060e75abb8e096708d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8fed3c2f97aa647f360c8731e35922b72763a9f5e962351c89bf2c0539e0436 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c8fed3c2f97aa647f360c8731e35922b72763a9f5e962351c89bf2c0539e0436", 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/lp-staking/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling cbindgen v0.13.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking sgx_urts v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde-json-wasm v0.2.3 [INFO] [stderr] Checking bincode2 v2.0.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking cosmwasm-std v0.10.0 (https://github.com/enigmampc/SecretNetwork?rev=004c6bc#004c6bca) [INFO] [stderr] Checking cosmwasm-std v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [INFO] [stderr] Checking cosmwasm-schema v0.9.4 [INFO] [stderr] Checking secret-toolkit-utils v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Checking secret-toolkit-serialization v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Checking cosmwasm-storage v0.10.0 (https://github.com/enigmampc/SecretNetwork?rev=004c6bc#004c6bca) [INFO] [stderr] Checking secret-toolkit-crypto v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Checking secret-toolkit-snip20 v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Checking secret-toolkit-storage v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Checking secret-toolkit v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Checking scrt-finance v0.1.0 (/opt/rustwide/workdir/packages/scrt-finance) [INFO] [stderr] Checking gov-token v0.1.0 (/opt/rustwide/workdir/contracts/gov-token) [INFO] [stderr] Compiling enclave-ffi-types v0.1.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [INFO] [stderr] Checking secret-poll v0.1.0 (/opt/rustwide/workdir/contracts/secret-poll) [INFO] [stderr] Checking lp-staking v0.1.0 (/opt/rustwide/workdir/contracts/lp-staking) [INFO] [stderr] Checking cashback-minter v0.1.0 (/opt/rustwide/workdir/contracts/cashback-minter) [INFO] [stderr] Checking cashback-token v0.1.0 (/opt/rustwide/workdir/contracts/cashback) [INFO] [stderr] Checking weight-master v0.1.0 (/opt/rustwide/workdir/contracts/weight-master) [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 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 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 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] 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: 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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] warning: 2 warnings emitted [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: 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[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] [stderr] error: could not compile `weight-master` [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] [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[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] warning: 5 warnings emitted [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c8fed3c2f97aa647f360c8731e35922b72763a9f5e962351c89bf2c0539e0436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8fed3c2f97aa647f360c8731e35922b72763a9f5e962351c89bf2c0539e0436", kill_on_drop: false }` [INFO] [stdout] c8fed3c2f97aa647f360c8731e35922b72763a9f5e962351c89bf2c0539e0436