[INFO] cloning repository https://github.com/Haseeb30000/sefi-stakepool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Haseeb30000/sefi-stakepool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaseeb30000%2Fsefi-stakepool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaseeb30000%2Fsefi-stakepool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa5eceb868907fe54a4cabf06bcd7a48118c8b4c [INFO] checking Haseeb30000/sefi-stakepool against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaseeb30000%2Fsefi-stakepool" "/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/Haseeb30000/sefi-stakepool on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Haseeb30000/sefi-stakepool [INFO] finished tweaking git repo https://github.com/Haseeb30000/sefi-stakepool [INFO] tweaked toml for git repo https://github.com/Haseeb30000/sefi-stakepool written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Haseeb30000/sefi-stakepool already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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] Updating git repository `https://github.com/enigmampc/SecretNetwork` [INFO] [stderr] Updating git repository `https://github.com/enigmampc/secret-toolkit` [INFO] [stderr] Updating git repository `https://github.com/apache/teaclave-sgx-sdk.git` [INFO] [stderr] Updating git submodule `https://github.com/WebAssembly/testsuite` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hmac-drbg v0.2.0 [INFO] [stderr] Downloaded parity-wasm v0.41.0 [INFO] [stderr] Downloaded cosmwasm-schema v0.9.4 [INFO] [stderr] Downloaded cbindgen v0.13.2 [INFO] [stderr] Downloaded rust_decimal v1.14.3 [INFO] [stderr] Downloaded bincode2 v2.0.1 [INFO] [stderr] Downloaded libsecp256k1 v0.3.5 [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" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 741c1f3b7319ef140fc8b60573351a2e919a53eba0e161777f85946868a2e80b [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" "741c1f3b7319ef140fc8b60573351a2e919a53eba0e161777f85946868a2e80b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "741c1f3b7319ef140fc8b60573351a2e919a53eba0e161777f85946868a2e80b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "741c1f3b7319ef140fc8b60573351a2e919a53eba0e161777f85946868a2e80b", kill_on_drop: false }` [INFO] [stdout] 741c1f3b7319ef140fc8b60573351a2e919a53eba0e161777f85946868a2e80b [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" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 125a1f84f1867089c45dacc4d4b31e031397a5a75c7fbd25b25c4123cacebbe2 [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" "125a1f84f1867089c45dacc4d4b31e031397a5a75c7fbd25b25c4123cacebbe2", 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 serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling cbindgen v0.13.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking sgx_urts v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [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] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking rust_decimal v1.14.3 [INFO] [stderr] Compiling tempfile v3.2.0 [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 thiserror-impl v1.0.24 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Checking snafu v0.6.10 [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 cashback-token v0.1.0 (/opt/rustwide/workdir/contracts/cashback) [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 dev-fund v0.1.0 (/opt/rustwide/workdir/contracts/dev-fund) [INFO] [stderr] Checking weight-master v0.1.0 (/opt/rustwide/workdir/contracts/weight-master) [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 import: `debug_print` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | debug_print, from_binary, to_binary, Api, Binary, CosmosMsg, Env, Extern, HandleResponse, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RngCore` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | use rand::{RngCore, SeedableRng}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | ///Why entropy and seed are the same here [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | / let a_lottery = Lottery { [INFO] [stdout] 105 | | entries: Vec::default(), [INFO] [stdout] 106 | | entropy: prng_seed_hashed.to_vec(), [INFO] [stdout] 107 | | start_height: height + 1, [INFO] [stdout] ... | [INFO] [stdout] 110 | | duration [INFO] [stdout] 111 | | }; [INFO] [stdout] | |______- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateViewingKey`, `Receive`, `Redeem`, `SetViewingKey` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:773:60 [INFO] [stdout] | [INFO] [stdout] 773 | use scrt_finance::lp_staking_msg::LPStakingHandleMsg::{Receive, Redeem, SetViewingKey, CreateViewingKey}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Empty`, `coins`, `from_binary` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 782 | coins, from_binary, BlockInfo, Coin, ContractInfo, Empty, MessageInfo, StdError, WasmMsg, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:784:9 [INFO] [stdout] | [INFO] [stdout] 784 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scrt_finance::lp_staking_msg::LPStakingHandleAnswer` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | use scrt_finance::lp_staking_msg::LPStakingHandleAnswer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:786:17 [INFO] [stdout] | [INFO] [stdout] 786 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [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 imports: `Env`, `StdError`, `StdResult` [INFO] [stdout] --> contracts/lp-staking/src/state.rs:1:64 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{HumanAddr, CanonicalAddr, Uint128, Storage, Env, StdResult, StdError}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug_print` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | debug_print, from_binary, to_binary, Api, Binary, CosmosMsg, Env, Extern, HandleResponse, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RngCore` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | use rand::{RngCore, SeedableRng}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | ///Why entropy and seed are the same here [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | / let a_lottery = Lottery { [INFO] [stdout] 105 | | entries: Vec::default(), [INFO] [stdout] 106 | | entropy: prng_seed_hashed.to_vec(), [INFO] [stdout] 107 | | start_height: height + 1, [INFO] [stdout] ... | [INFO] [stdout] 110 | | duration [INFO] [stdout] 111 | | }; [INFO] [stdout] | |______- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [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 imports: `Env`, `StdError`, `StdResult` [INFO] [stdout] --> contracts/lp-staking/src/state.rs:1:64 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{HumanAddr, CanonicalAddr, Uint128, Storage, Env, StdResult, 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 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_rewards` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | let new_rewards = query_pending(deps, block)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_rewards` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | let user = TypedStore::::attach(&deps.storage) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let mut reward_pool = update_rewards(deps, /*&env, &config,*/ rewards)?; [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: variable does not need to be mutable [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | let mut rewards_store = TypedStoreMut::attach(&mut deps.storage); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | let mut rewards_store = TypedStoreMut::attach(&mut deps.storage); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_rewards` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | let new_rewards = query_pending(deps, block)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_rewards` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | let user = TypedStore::::attach(&deps.storage) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:846:9 [INFO] [stdout] | [INFO] [stdout] 846 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:897:13 [INFO] [stdout] | [INFO] [stdout] 897 | let env = mock_env("admin", &[], 10); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:930:13 [INFO] [stdout] | [INFO] [stdout] 930 | let config: Config = TypedStoreMut::attach(&mut deps.storage).load(CONFIG_KEY).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unwrapped_msg` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:952:13 [INFO] [stdout] | [INFO] [stdout] 952 | let unwrapped_msg = handle(&mut deps, env.clone(), handle_msg).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unwrapped_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unwrapped_msg` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:1000:13 [INFO] [stdout] | [INFO] [stdout] 1000 | let unwrapped_msg = handle(&mut deps, env.clone(), handle_msg).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unwrapped_msg` [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: variable does not need to be mutable [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let mut reward_pool = update_rewards(deps, /*&env, &config,*/ rewards)?; [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: variable does not need to be mutable [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | let mut rewards_store = TypedStoreMut::attach(&mut deps.storage); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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: variable does not need to be mutable [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | let mut rewards_store = TypedStoreMut::attach(&mut deps.storage); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:856:13 [INFO] [stdout] | [INFO] [stdout] 856 | let mut rewards = 100; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:956:13 [INFO] [stdout] | [INFO] [stdout] 956 | let mut user = TypedStore::attach(&deps.storage) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:966:13 [INFO] [stdout] | [INFO] [stdout] 966 | let mut a_lottery = lottery(&mut deps.storage).load().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:973:13 [INFO] [stdout] | [INFO] [stdout] 973 | let mut rewards_store = TypedStoreMut::attach(&mut deps.storage); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:974:13 [INFO] [stdout] | [INFO] [stdout] 974 | let mut reward_pool: RewardPool = rewards_store.load(REWARD_POOL_KEY).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:1005:13 [INFO] [stdout] | [INFO] [stdout] 1005 | let mut user = TypedStore::attach(&deps.storage) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:1012:13 [INFO] [stdout] | [INFO] [stdout] 1012 | let mut a_lottery = lottery(&mut deps.storage).load().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:1017:13 [INFO] [stdout] | [INFO] [stdout] 1017 | let mut rewards_store = TypedStoreMut::attach(&mut deps.storage); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:1018:13 [INFO] [stdout] | [INFO] [stdout] 1018 | let mut reward_pool: RewardPool = rewards_store.load(REWARD_POOL_KEY).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `REWARD_SCALE` [INFO] [stdout] --> contracts/lp-staking/src/constants.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const REWARD_SCALE: u128 = 1_000_000_000_000; // 10 ^ 12 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sha_256` [INFO] [stdout] --> contracts/lp-staking/src/rand.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sha_256(data: &[u8]) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Prng` [INFO] [stdout] --> contracts/lp-staking/src/rand.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Prng { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> contracts/lp-staking/src/rand.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(seed: &[u8], entropy: &[u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rand_bytes` [INFO] [stdout] --> contracts/lp-staking/src/rand.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn rand_bytes(&mut self) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | &a_lottery.entries.retain(|(k, _,_)| k != &sender_address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | / &a_lottery.entries.push(( [INFO] [stdout] 390 | | sender_address.clone(), [INFO] [stdout] 391 | | Uint128::from(account_balance + amount), [INFO] [stdout] 392 | | user.start_height, [INFO] [stdout] 393 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | &a_lottery.entropy.extend(&env.block.height.to_be_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | &a_lottery.entropy.extend(&env.block.time.to_be_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | lottery(&mut deps.storage).save(&a_lottery); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | &a_lottery.entries.retain(|(k, _,_)| k != &sender_address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | / &a_lottery.entries.push(( [INFO] [stdout] 450 | | sender_address.clone(), [INFO] [stdout] 451 | | Uint128::from(account_balance - amount), [INFO] [stdout] 452 | | user.start_height, [INFO] [stdout] 453 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | &a_lottery.entropy.extend(&env.block.height.to_be_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | &a_lottery.entropy.extend(&env.block.time.to_be_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | lottery(&mut deps.storage).save(&a_lottery); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `REWARD_SCALE` [INFO] [stdout] --> contracts/lp-staking/src/constants.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const REWARD_SCALE: u128 = 1_000_000_000_000; // 10 ^ 12 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `master_update_allocation` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:844:8 [INFO] [stdout] | [INFO] [stdout] 844 | fn master_update_allocation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `MasterHandleAnswer` [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:889:14 [INFO] [stdout] | [INFO] [stdout] 889 | pub enum MasterHandleAnswer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sha_256` [INFO] [stdout] --> contracts/lp-staking/src/rand.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sha_256(data: &[u8]) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | &a_lottery.entries.retain(|(k, _,_)| k != &sender_address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | / &a_lottery.entries.push(( [INFO] [stdout] 390 | | sender_address.clone(), [INFO] [stdout] 391 | | Uint128::from(account_balance + amount), [INFO] [stdout] 392 | | user.start_height, [INFO] [stdout] 393 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | &a_lottery.entropy.extend(&env.block.height.to_be_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | &a_lottery.entropy.extend(&env.block.time.to_be_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | lottery(&mut deps.storage).save(&a_lottery); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | &a_lottery.entries.retain(|(k, _,_)| k != &sender_address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | / &a_lottery.entries.push(( [INFO] [stdout] 450 | | sender_address.clone(), [INFO] [stdout] 451 | | Uint128::from(account_balance - amount), [INFO] [stdout] 452 | | user.start_height, [INFO] [stdout] 453 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | &a_lottery.entropy.extend(&env.block.height.to_be_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | &a_lottery.entropy.extend(&env.block.time.to_be_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/lp-staking/src/contract.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | lottery(&mut deps.storage).save(&a_lottery); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 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] 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] [stderr] error: could not compile `weight-master` [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] 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] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "125a1f84f1867089c45dacc4d4b31e031397a5a75c7fbd25b25c4123cacebbe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "125a1f84f1867089c45dacc4d4b31e031397a5a75c7fbd25b25c4123cacebbe2", kill_on_drop: false }` [INFO] [stdout] 125a1f84f1867089c45dacc4d4b31e031397a5a75c7fbd25b25c4123cacebbe2