[INFO] cloning repository https://github.com/Ange-FE/Ginkou-aAsset-contracts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ange-FE/Ginkou-aAsset-contracts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnge-FE%2FGinkou-aAsset-contracts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnge-FE%2FGinkou-aAsset-contracts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d24f3321347d39ff45d603db6bb6f9cc21b376f6 [INFO] checking Ange-FE/Ginkou-aAsset-contracts/d24f3321347d39ff45d603db6bb6f9cc21b376f6 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnge-FE%2FGinkou-aAsset-contracts" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ange-FE/Ginkou-aAsset-contracts on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ange-FE/Ginkou-aAsset-contracts [INFO] finished tweaking git repo https://github.com/Ange-FE/Ginkou-aAsset-contracts [INFO] tweaked toml for git repo https://github.com/Ange-FE/Ginkou-aAsset-contracts written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ange-FE/Ginkou-aAsset-contracts already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-5-tc1/source/contracts/anchor_basset_hub/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-5-tc1/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-5-tc1/source/contracts/anchor_basset_token/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-5-tc1/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-5-tc1/source/packages/basset/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-5-tc1/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-5-tc1/source/contracts/lido_terra_validators_registry/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-5-tc1/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-5-tc1/source/packages/signed_integers/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-5-tc1/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-5-tc1/source/contracts/anchor_basset_reward/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded schemars_derive v0.8.3 [INFO] [stderr] Downloaded cosmwasm-derive v0.16.0 [INFO] [stderr] Downloaded dyn-clone v1.0.4 [INFO] [stderr] Downloaded terra-cosmwasm v2.2.0 [INFO] [stderr] Downloaded serde-json-wasm v0.3.1 [INFO] [stderr] Downloaded cosmwasm-crypto v0.16.0 [INFO] [stderr] Downloaded cosmwasm-std v0.16.0 [INFO] [stderr] Downloaded enumset v1.0.7 [INFO] [stderr] Downloaded target-lexicon v0.12.1 [INFO] [stderr] Downloaded cw2 v0.8.0 [INFO] [stderr] Downloaded cw20-legacy v0.2.0 [INFO] [stderr] Downloaded cosmwasm-storage v0.16.0 [INFO] [stderr] Downloaded k256 v0.9.6 [INFO] [stderr] Downloaded wasmer-compiler-singlepass v2.0.0 [INFO] [stderr] Downloaded dynasm v1.1.0 [INFO] [stderr] Downloaded dynasmrt v1.1.0 [INFO] [stderr] Downloaded cw20 v0.8.0 [INFO] [stderr] Downloaded elliptic-curve v0.10.5 [INFO] [stderr] Downloaded more-asserts v0.2.1 [INFO] [stderr] Downloaded cosmwasm-bignumber v2.2.0 [INFO] [stderr] Downloaded cosmwasm-schema v0.16.0 [INFO] [stderr] Downloaded pkcs8 v0.7.5 [INFO] [stderr] Downloaded ecdsa v0.12.3 [INFO] [stderr] Downloaded der v0.4.1 [INFO] [stderr] Downloaded schemars v0.8.3 [INFO] [stderr] Downloaded cw20-base v0.8.0 [INFO] [stderr] Downloaded cw-storage-plus v0.8.0 [INFO] [stderr] Downloaded wasmer-middlewares v2.0.0 [INFO] [stderr] Downloaded cw0 v0.8.0 [INFO] [stderr] Downloaded cosmwasm-vm v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 708612cbd4dc633549dbd137baeb7a927f2dbcaa2e555bc00cdbb7623eaa6972 [INFO] running `Command { std: "docker" "start" "-a" "708612cbd4dc633549dbd137baeb7a927f2dbcaa2e555bc00cdbb7623eaa6972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "708612cbd4dc633549dbd137baeb7a927f2dbcaa2e555bc00cdbb7623eaa6972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "708612cbd4dc633549dbd137baeb7a927f2dbcaa2e555bc00cdbb7623eaa6972", kill_on_drop: false }` [INFO] [stdout] 708612cbd4dc633549dbd137baeb7a927f2dbcaa2e555bc00cdbb7623eaa6972 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cf76c7e1a6ef2fae0552c28fcadf6314c66e6d89821e36cda00f94d43bbf6ea [INFO] running `Command { std: "docker" "start" "-a" "5cf76c7e1a6ef2fae0552c28fcadf6314c66e6d89821e36cda00f94d43bbf6ea", 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/anchor_basset_hub/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/anchor_basset_token/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/packages/basset/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/lido_terra_validators_registry/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/packages/signed_integers/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/anchor_basset_reward/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking const-oid v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking der v0.4.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Compiling rkyv v0.6.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling target-lexicon v0.12.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking more-asserts v0.2.1 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking wasmparser v0.78.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking spki v0.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cranelift-codegen-shared v0.74.0 [INFO] [stderr] Compiling cranelift-entity v0.74.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking pkcs8 v0.7.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking memmap2 v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.74.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking regalloc v0.0.31 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking ff v0.10.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Compiling wasmer-compiler-cranelift v2.0.0 [INFO] [stderr] Checking cranelift-bforest v0.74.0 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling wasmer-vm v2.0.0 [INFO] [stderr] Checking leb128 v0.2.4 [INFO] [stderr] Checking which v4.1.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking parity-wasm v0.42.2 [INFO] [stderr] Checking clru v0.4.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-bigint v0.2.2 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking bigint v4.4.3 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking elliptic-curve v0.10.5 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking ecdsa v0.12.3 [INFO] [stderr] Checking k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling cosmwasm-derive v0.16.0 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling loupe-derive v0.1.3 [INFO] [stderr] Compiling rkyv_derive v0.6.7 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling dynasm v1.1.0 [INFO] [stderr] Compiling wasmer-derive v2.0.0 [INFO] [stderr] Compiling cranelift-codegen v0.74.0 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling enumset_derive v0.5.5 [INFO] [stderr] Checking enumset v1.0.7 [INFO] [stderr] Checking ed25519-zebra v2.2.0 [INFO] [stderr] Checking serde-json-wasm v0.3.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking cosmwasm-crypto v0.16.0 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking loupe v0.1.3 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking wasmer-types v2.0.0 [INFO] [stderr] Checking dynasmrt v1.1.0 [INFO] [stderr] Checking cosmwasm-std v0.16.0 [INFO] [stderr] Checking cosmwasm-schema v0.16.0 [INFO] [stderr] Checking cw0 v0.8.0 [INFO] [stderr] Checking cosmwasm-storage v0.16.0 [INFO] [stderr] Checking terra-cosmwasm v2.2.0 [INFO] [stderr] Checking cw-storage-plus v0.8.0 [INFO] [stderr] Checking cosmwasm-bignumber v2.2.0 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Checking cw20 v0.8.0 [INFO] [stderr] Checking cw2 v0.8.0 [INFO] [stderr] Checking basset v0.1.0 (/opt/rustwide/workdir/packages/basset) [INFO] [stderr] Checking cw20-base v0.8.0 [INFO] [stderr] Checking signed_integer v0.1.0 (/opt/rustwide/workdir/packages/signed_integers) [INFO] [stderr] Checking cw20-legacy v0.2.0 [INFO] [stderr] Checking wasmer-compiler v2.0.0 [INFO] [stderr] Checking lido_terra_validators_registry v1.1.0 (/opt/rustwide/workdir/contracts/lido_terra_validators_registry) [INFO] [stderr] Checking anchor_basset_reward v1.0.0 (/opt/rustwide/workdir/contracts/anchor_basset_reward) [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_std::Decimal256` [INFO] [stdout] --> contracts/anchor_basset_reward/src/contract.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | to_binary, Binary, Decimal256, Deps, DepsMut, Env, MessageInfo, Response, StdResult, Uint128, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Decimal256` in the root [INFO] [stdout] | help: a similar name exists in the module: `Decimal` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] cosmwasm_bignumber::Decimal256 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_std::Decimal256` [INFO] [stdout] --> contracts/anchor_basset_reward/src/state.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{Addr, CanonicalAddr, Decimal256, Deps, Order, StdResult, Storage, Uint128}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Decimal256` in the root [INFO] [stdout] | help: a similar name exists in the module: `Decimal` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] cosmwasm_bignumber::Decimal256 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::math` [INFO] [stdout] --> contracts/anchor_basset_reward/src/global.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::math::decimal_summation_in_256; [INFO] [stdout] | ^^^^ could not find `math` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_std::Decimal256` [INFO] [stdout] --> contracts/anchor_basset_reward/src/global.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | attr, CosmosMsg, Decimal256, DepsMut, Env, MessageInfo, Response, StdError, StdResult, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Decimal256` in the root [INFO] [stdout] | help: a similar name exists in the module: `Decimal` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] cosmwasm_bignumber::Decimal256 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cosmwasm_std::Decimal256`, `cosmwasm_std::Uint256` [INFO] [stdout] --> contracts/anchor_basset_reward/src/user.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | attr, BankMsg, Coin, CosmosMsg, Decimal256, Deps, DepsMut, Env, MessageInfo, Response, StdError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Decimal256` in the root [INFO] [stdout] | help: a similar name exists in the module: `Decimal` [INFO] [stdout] 10 | StdResult, Uint128, Uint256 [INFO] [stdout] | ^^^^^^^ no `Uint256` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] cosmwasm_bignumber::Decimal256 [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] cosmwasm_bignumber::Uint256 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `basset::dex_router` [INFO] [stdout] --> contracts/anchor_basset_reward/src/swap.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use basset::dex_router::{ [INFO] [stdout] | ^^^^^^^^^^ could not find `dex_router` in `basset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> contracts/anchor_basset_reward/src/swap.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `strum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_schema` [INFO] [stdout] --> contracts/anchor_basset_reward/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_schema::cw_serde; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `cosmwasm_schema` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::cw_serde; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_std::Decimal256` [INFO] [stdout] --> contracts/anchor_basset_reward/src/contract.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | to_binary, Binary, Decimal256, Deps, DepsMut, Env, MessageInfo, Response, StdResult, Uint128, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Decimal256` in the root [INFO] [stdout] | help: a similar name exists in the module: `Decimal` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] cosmwasm_bignumber::Decimal256 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_schema::cw_serde` [INFO] [stdout] --> contracts/anchor_basset_reward/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_schema::cw_serde; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `cw_serde` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_std::Decimal256` [INFO] [stdout] --> contracts/anchor_basset_reward/src/state.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{Addr, CanonicalAddr, Decimal256, Deps, Order, StdResult, Storage, Uint128}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Decimal256` in the root [INFO] [stdout] | help: a similar name exists in the module: `Decimal` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] cosmwasm_bignumber::Decimal256 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::math` [INFO] [stdout] --> contracts/anchor_basset_reward/src/global.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::math::decimal_summation_in_256; [INFO] [stdout] | ^^^^ could not find `math` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decimal` [INFO] [stdout] --> contracts/anchor_basset_reward/src/contract.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | global_index: Decimal::zero(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Decimal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cosmwasm_std::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_std::Decimal256` [INFO] [stdout] --> contracts/anchor_basset_reward/src/global.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | attr, CosmosMsg, Decimal256, DepsMut, Env, MessageInfo, Response, StdError, StdResult, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Decimal256` in the root [INFO] [stdout] | help: a similar name exists in the module: `Decimal` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] cosmwasm_bignumber::Decimal256 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cosmwasm_std::Decimal256`, `cosmwasm_std::Uint256` [INFO] [stdout] --> contracts/anchor_basset_reward/src/user.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | attr, BankMsg, Coin, CosmosMsg, Decimal256, Deps, DepsMut, Env, MessageInfo, Response, StdError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Decimal256` in the root [INFO] [stdout] | help: a similar name exists in the module: `Decimal` [INFO] [stdout] 10 | StdResult, Uint128, Uint256 [INFO] [stdout] | ^^^^^^^ no `Uint256` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] cosmwasm_bignumber::Decimal256 [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] cosmwasm_bignumber::Uint256 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `basset::dex_router` [INFO] [stdout] --> contracts/anchor_basset_reward/src/swap.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use basset::dex_router::{ [INFO] [stdout] | ^^^^^^^^^^ could not find `dex_router` in `basset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> contracts/anchor_basset_reward/src/swap.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `strum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::math` [INFO] [stdout] --> contracts/anchor_basset_reward/src/testing/tests.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::math::{decimal_multiplication_in_256, decimal_subtraction_in_256}; [INFO] [stdout] | ^^^^ could not find `math` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decimal` [INFO] [stdout] --> contracts/anchor_basset_reward/src/contract.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | global_index: Decimal::zero(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Decimal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cosmwasm_std::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `save` exists for struct `Item<'static, SwapConfig>`, but its trait bounds were not satisfied [INFO] [stdout] --> contracts/anchor_basset_reward/src/contract.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | SWAP_CONFIG.save( [INFO] [stdout] | ------------^^^^ method cannot be called on `Item<'static, SwapConfig>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: contracts/anchor_basset_reward/src/state.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SwapConfig { [INFO] [stdout] | --------------------- doesn't satisfy `SwapConfig: Deserialize<'de>`, `SwapConfig: DeserializeOwned` or `SwapConfig: Serialize` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `SwapConfig: Serialize` [INFO] [stdout] `SwapConfig: Deserialize<'de>` [INFO] [stdout] which is required by `SwapConfig: DeserializeOwned` [INFO] [stdout] note: the trait `Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.126/src/ser/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking anchor_basset_token v1.0.0 (/opt/rustwide/workdir/contracts/anchor_basset_token) [INFO] [stdout] error[E0599]: the method `save` exists for struct `Item<'static, SwapConfig>`, but its trait bounds were not satisfied [INFO] [stdout] --> contracts/anchor_basset_reward/src/contract.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | SWAP_CONFIG.save( [INFO] [stdout] | ------------^^^^ method cannot be called on `Item<'static, SwapConfig>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: contracts/anchor_basset_reward/src/state.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SwapConfig { [INFO] [stdout] | --------------------- doesn't satisfy `SwapConfig: Deserialize<'de>`, `SwapConfig: DeserializeOwned` or `SwapConfig: Serialize` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `SwapConfig: Serialize` [INFO] [stdout] `SwapConfig: Deserialize<'de>` [INFO] [stdout] which is required by `SwapConfig: DeserializeOwned` [INFO] [stdout] note: the trait `Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.126/src/ser/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&Addr` in the current scope [INFO] [stdout] --> contracts/anchor_basset_reward/src/state.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | HOLDERS.save(storage, holder_address.as_slice(), holder) [INFO] [stdout] | ^^^^^^^^ method not found in `&Addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ExclusiveRaw` found for enum `cw_storage_plus::Bound` in the current scope [INFO] [stdout] --> contracts/anchor_basset_reward/src/state.rs:91:44 [INFO] [stdout] | [INFO] [stdout] 91 | let start = start_after.map(|s| Bound::ExclusiveRaw(s.into_bytes())); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Bound` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `cw_storage_plus::Bound` consider using one of the following associated functions: [INFO] [stdout] cw_storage_plus::Bound::inclusive [INFO] [stdout] cw_storage_plus::Bound::exclusive [INFO] [stdout] cw_storage_plus::Bound::inclusive_int [INFO] [stdout] cw_storage_plus::Bound::exclusive_int [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cw-storage-plus-0.8.0/src/prefix.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn inclusive>>(limit: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn exclusive>>(limit: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn inclusive_int(limit: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn exclusive_int(limit: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 91 | let start = start_after.map(|s| Bound::Exclusive(s.into_bytes())); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: there is an associated function `exclusive` with a similar name [INFO] [stdout] | [INFO] [stdout] 91 | let start = start_after.map(|s| Bound::exclusive(s.into_bytes())); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `OwnedDeps` has no field named `custom_query_type` [INFO] [stdout] --> contracts/lido_terra_validators_registry/src/testing/mock_querier.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | custom_query_type: std::marker::PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `OwnedDeps<_, _, _>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&Addr` in the current scope [INFO] [stdout] --> contracts/anchor_basset_reward/src/state.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | HOLDERS.save(storage, holder_address.as_slice(), holder) [INFO] [stdout] | ^^^^^^^^ method not found in `&Addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `std::vec::Vec` doesn't implement `std::fmt::Display` [INFO] [stdout] --> contracts/anchor_basset_reward/src/state.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | let address: String = k.to_string(); [INFO] [stdout] | ^^^^^^^^^ `std::vec::Vec` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::vec::Vec: std::fmt::Display` [INFO] [stdout] which is required by `std::vec::Vec: ToString` [INFO] [stdout] `[u8]: std::fmt::Display` [INFO] [stdout] which is required by `[u8]: ToString` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ExclusiveRaw` found for enum `cw_storage_plus::Bound` in the current scope [INFO] [stdout] --> contracts/anchor_basset_reward/src/state.rs:91:44 [INFO] [stdout] | [INFO] [stdout] 91 | let start = start_after.map(|s| Bound::ExclusiveRaw(s.into_bytes())); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Bound` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `cw_storage_plus::Bound` consider using one of the following associated functions: [INFO] [stdout] cw_storage_plus::Bound::inclusive [INFO] [stdout] cw_storage_plus::Bound::exclusive [INFO] [stdout] cw_storage_plus::Bound::inclusive_int [INFO] [stdout] cw_storage_plus::Bound::exclusive_int [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cw-storage-plus-0.8.0/src/prefix.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn inclusive>>(limit: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn exclusive>>(limit: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn inclusive_int(limit: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn exclusive_int(limit: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 91 | let start = start_after.map(|s| Bound::Exclusive(s.into_bytes())); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: there is an associated function `exclusive` with a similar name [INFO] [stdout] | [INFO] [stdout] 91 | let start = start_after.map(|s| Bound::exclusive(s.into_bytes())); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `std::vec::Vec` doesn't implement `std::fmt::Display` [INFO] [stdout] --> contracts/anchor_basset_reward/src/state.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | let address: String = k.to_string(); [INFO] [stdout] | ^^^^^^^^^ `std::vec::Vec` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::vec::Vec: std::fmt::Display` [INFO] [stdout] which is required by `std::vec::Vec: ToString` [INFO] [stdout] `[u8]: std::fmt::Display` [INFO] [stdout] which is required by `[u8]: ToString` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `load` exists for struct `Item<'static, SwapConfig>`, but its trait bounds were not satisfied [INFO] [stdout] --> contracts/anchor_basset_reward/src/swap.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 104 | let swap_config = SWAP_CONFIG.load(deps.storage)?; [INFO] [stdout] | ^^^^ method cannot be called on `Item<'static, SwapConfig>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: contracts/anchor_basset_reward/src/state.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SwapConfig { [INFO] [stdout] | --------------------- doesn't satisfy `SwapConfig: Deserialize<'de>`, `SwapConfig: DeserializeOwned` or `SwapConfig: Serialize` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `SwapConfig: Serialize` [INFO] [stdout] `SwapConfig: Deserialize<'de>` [INFO] [stdout] which is required by `SwapConfig: DeserializeOwned` [INFO] [stdout] note: the trait `Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.126/src/ser/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `load` exists for struct `Item<'static, SwapConfig>`, but its trait bounds were not satisfied [INFO] [stdout] --> contracts/anchor_basset_reward/src/swap.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 104 | let swap_config = SWAP_CONFIG.load(deps.storage)?; [INFO] [stdout] | ^^^^ method cannot be called on `Item<'static, SwapConfig>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: contracts/anchor_basset_reward/src/state.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SwapConfig { [INFO] [stdout] | --------------------- doesn't satisfy `SwapConfig: Deserialize<'de>`, `SwapConfig: DeserializeOwned` or `SwapConfig: Serialize` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `SwapConfig: Serialize` [INFO] [stdout] `SwapConfig: Deserialize<'de>` [INFO] [stdout] which is required by `SwapConfig: DeserializeOwned` [INFO] [stdout] note: the trait `Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.126/src/ser/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anchor_basset_reward` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/anchor_basset_reward/src/testing/mock_querier.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | ... creator: api.addr_canonicalize(&String::from("owner1")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Addr`, found `CanonicalAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/anchor_basset_reward/src/testing/mock_querier.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 106 | ... reward_contract: Some( [INFO] [stdout] | ---- arguments to this enum variant are incorrect [INFO] [stdout] 107 | / ... api.addr_canonicalize(&String::from(MOCK_REWARD_CONTRACT_ADDR)) [INFO] [stdout] 108 | | ... .unwrap(), [INFO] [stdout] | |_______________________________________^ expected `Addr`, found `CanonicalAddr` [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `CanonicalAddr` due to the type of the argument passed [INFO] [stdout] --> contracts/anchor_basset_reward/src/testing/mock_querier.rs:106:46 [INFO] [stdout] | [INFO] [stdout] 106 | ... reward_contract: Some( [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 107 | |/ ... api.addr_canonicalize(&String::from(MOCK_REWARD_CONTRACT_ADDR)) [INFO] [stdout] 108 | || ... .unwrap(), [INFO] [stdout] | ||_______________________________________- this argument influences the type of `Some` [INFO] [stdout] 109 | | ... ), [INFO] [stdout] | |________________________^ [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:580:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/anchor_basset_reward/src/testing/mock_querier.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 110 | ... token_contract: Some( [INFO] [stdout] | ---- arguments to this enum variant are incorrect [INFO] [stdout] 111 | / ... api.addr_canonicalize(&String::from(MOCK_TOKEN_CONTRACT_ADDR)) [INFO] [stdout] 112 | | ... .unwrap(), [INFO] [stdout] | |_______________________________________^ expected `Addr`, found `CanonicalAddr` [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `CanonicalAddr` due to the type of the argument passed [INFO] [stdout] --> contracts/anchor_basset_reward/src/testing/mock_querier.rs:110:45 [INFO] [stdout] | [INFO] [stdout] 110 | ... token_contract: Some( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 111 | |/ ... api.addr_canonicalize(&String::from(MOCK_TOKEN_CONTRACT_ADDR)) [INFO] [stdout] 112 | || ... .unwrap(), [INFO] [stdout] | ||_______________________________________- this argument influences the type of `Some` [INFO] [stdout] 113 | | ... ), [INFO] [stdout] | |________________________^ [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:580:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `basset::hub::Config` has no field named `airdrop_registry_contract` [INFO] [stdout] --> contracts/anchor_basset_reward/src/testing/mock_querier.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | ... airdrop_registry_contract: Some( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 114 | validators_registry_contract: Some( [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `astroport_addr`, `phoenix_addr` and `terraswap_addr` in initializer of `basset::reward::InstantiateMsg` [INFO] [stdout] --> contracts/anchor_basset_reward/src/testing/tests.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `astroport_addr`, `phoenix_addr` and `terraswap_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `SubMsg` with `SubMsg` [INFO] [stdout] --> contracts/anchor_basset_reward/src/testing/tests.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | / assert_eq!( [INFO] [stdout] 114 | | res.messages, [INFO] [stdout] 115 | | vec![ [INFO] [stdout] 116 | | SubMsg::new(create_swap_msg( [INFO] [stdout] ... | [INFO] [stdout] 137 | | ] [INFO] [stdout] 138 | | ); [INFO] [stdout] | |_____^ no implementation for `SubMsg == SubMsg` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `SubMsg` [INFO] [stdout] but trait `PartialEq>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `cosmwasm_std::Empty`, found `TerraMsgWrapper` [INFO] [stdout] = note: required for `std::vec::Vec` to implement `PartialEq>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/anchor_basset_token/src/testing/mock_querier.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | ... creator: api.addr_canonicalize(&String::from("owner1")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Addr`, found `CanonicalAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/anchor_basset_token/src/testing/mock_querier.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 57 | ... reward_contract: Some( [INFO] [stdout] | ---- arguments to this enum variant are incorrect [INFO] [stdout] 58 | / ... api.addr_canonicalize(&String::from(MOCK_REWARD_CONTRACT_ADDR)) [INFO] [stdout] 59 | | ... .unwrap(), [INFO] [stdout] | |_______________________________________^ expected `Addr`, found `CanonicalAddr` [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `cosmwasm_std::CanonicalAddr` due to the type of the argument passed [INFO] [stdout] --> contracts/anchor_basset_token/src/testing/mock_querier.rs:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | ... reward_contract: Some( [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 58 | |/ ... api.addr_canonicalize(&String::from(MOCK_REWARD_CONTRACT_ADDR)) [INFO] [stdout] 59 | || ... .unwrap(), [INFO] [stdout] | ||_______________________________________- this argument influences the type of `Some` [INFO] [stdout] 60 | | ... ), [INFO] [stdout] | |________________________^ [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:580:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/anchor_basset_token/src/testing/mock_querier.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 61 | ... token_contract: Some( [INFO] [stdout] | ---- arguments to this enum variant are incorrect [INFO] [stdout] 62 | / ... api.addr_canonicalize(&String::from(MOCK_TOKEN_CONTRACT_ADDR)) [INFO] [stdout] 63 | | ... .unwrap(), [INFO] [stdout] | |_______________________________________^ expected `Addr`, found `CanonicalAddr` [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `cosmwasm_std::CanonicalAddr` due to the type of the argument passed [INFO] [stdout] --> contracts/anchor_basset_token/src/testing/mock_querier.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | ... token_contract: Some( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 62 | |/ ... api.addr_canonicalize(&String::from(MOCK_TOKEN_CONTRACT_ADDR)) [INFO] [stdout] 63 | || ... .unwrap(), [INFO] [stdout] | ||_______________________________________- this argument influences the type of `Some` [INFO] [stdout] 64 | | ... ), [INFO] [stdout] | |________________________^ [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:580:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `basset::hub::Config` has no field named `airdrop_registry_contract` [INFO] [stdout] --> contracts/anchor_basset_token/src/testing/mock_querier.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | ... airdrop_registry_contract: Some( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 65 | validators_registry_contract: Some( [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/anchor_basset_reward/src/testing/tests.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 801 | store_holder( [INFO] [stdout] | ------------ arguments to this function are incorrect [INFO] [stdout] 802 | &mut deps.storage, [INFO] [stdout] 803 | / &deps [INFO] [stdout] 804 | | .api [INFO] [stdout] 805 | | .addr_canonicalize(&String::from("addr0000")) [INFO] [stdout] 806 | | .unwrap(), [INFO] [stdout] | |_____________________^ expected `&Addr`, found `&CanonicalAddr` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Addr` [INFO] [stdout] found reference `&CanonicalAddr` [INFO] [stdout] note: function defined here [INFO] [stdout] --> contracts/anchor_basset_reward/src/state.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn store_holder( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 63 | storage: &mut dyn Storage, [INFO] [stdout] 64 | holder_address: &Addr, [INFO] [stdout] | --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/anchor_basset_reward/src/testing/tests.rs:818:9 [INFO] [stdout] | [INFO] [stdout] 816 | store_holder( [INFO] [stdout] | ------------ arguments to this function are incorrect [INFO] [stdout] 817 | &mut deps.storage, [INFO] [stdout] 818 | / &deps [INFO] [stdout] 819 | | .api [INFO] [stdout] 820 | | .addr_canonicalize(&String::from("addr0001")) [INFO] [stdout] 821 | | .unwrap(), [INFO] [stdout] | |_____________________^ expected `&Addr`, found `&CanonicalAddr` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Addr` [INFO] [stdout] found reference `&CanonicalAddr` [INFO] [stdout] note: function defined here [INFO] [stdout] --> contracts/anchor_basset_reward/src/state.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn store_holder( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 63 | storage: &mut dyn Storage, [INFO] [stdout] 64 | holder_address: &Addr, [INFO] [stdout] | --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/anchor_basset_reward/src/testing/tests.rs:833:9 [INFO] [stdout] | [INFO] [stdout] 831 | store_holder( [INFO] [stdout] | ------------ arguments to this function are incorrect [INFO] [stdout] 832 | &mut deps.storage, [INFO] [stdout] 833 | / &deps [INFO] [stdout] 834 | | .api [INFO] [stdout] 835 | | .addr_canonicalize(&String::from("addr0002")) [INFO] [stdout] 836 | | .unwrap(), [INFO] [stdout] | |_____________________^ expected `&Addr`, found `&CanonicalAddr` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Addr` [INFO] [stdout] found reference `&CanonicalAddr` [INFO] [stdout] note: function defined here [INFO] [stdout] --> contracts/anchor_basset_reward/src/state.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn store_holder( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 63 | storage: &mut dyn Storage, [INFO] [stdout] 64 | holder_address: &Addr, [INFO] [stdout] | --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lido_terra_validators_registry` (lib test) due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0308, E0432, E0433, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anchor_basset_reward` (lib test) due to 24 previous errors [INFO] [stdout] Some errors have detailed explanations: E0308, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anchor_basset_token` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "5cf76c7e1a6ef2fae0552c28fcadf6314c66e6d89821e36cda00f94d43bbf6ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cf76c7e1a6ef2fae0552c28fcadf6314c66e6d89821e36cda00f94d43bbf6ea", kill_on_drop: false }` [INFO] [stdout] 5cf76c7e1a6ef2fae0552c28fcadf6314c66e6d89821e36cda00f94d43bbf6ea