[INFO] fetching crate pandora-os 0.1.0... [INFO] checking pandora-os-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate pandora-os 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate pandora-os 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config [INFO] started tweaking crates.io crate pandora-os 0.1.0 [INFO] finished tweaking crates.io crate pandora-os 0.1.0 [INFO] tweaked toml for crates.io crate pandora-os 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 102 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding base16ct v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding const-oid v0.6.2 (available: v0.9.6) [INFO] [stderr] Adding const-oid v0.7.1 (available: v0.9.6) [INFO] [stderr] Adding cosmwasm-crypto v0.16.7 (available: v2.1.4) [INFO] [stderr] Adding cosmwasm-crypto v1.0.1 (available: v1.5.8) [INFO] [stderr] Adding cosmwasm-derive v0.16.7 (available: v2.1.4) [INFO] [stderr] Adding cosmwasm-derive v1.5.8 (available: v2.1.4) [INFO] [stderr] Adding cosmwasm-std v0.16.7 (available: v2.1.4) [INFO] [stderr] Adding cosmwasm-std v1.0.1 (available: v1.5.8) [INFO] [stderr] Adding cosmwasm-storage v0.16.7 (available: v1.5.2) [INFO] [stderr] Adding cosmwasm-storage v1.0.1 (available: v1.5.2) [INFO] [stderr] Adding crunchy v0.1.6 (available: v0.2.2) [INFO] [stderr] Adding crypto-bigint v0.2.11 (available: v0.5.5) [INFO] [stderr] Adding crypto-bigint v0.3.2 (available: v0.5.5) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding cw-controllers v0.8.1 (available: v2.0.0) [INFO] [stderr] Adding cw-storage-plus v0.8.1 (available: v2.0.0) [INFO] [stderr] Adding cw-storage-plus v0.13.4 (available: v2.0.0) [INFO] [stderr] Adding cw-utils v0.13.4 (available: v2.0.0) [INFO] [stderr] Adding cw0 v0.8.1 (available: v0.10.3) [INFO] [stderr] Adding cw2 v0.8.1 (available: v2.0.0) [INFO] [stderr] Adding cw2 v0.13.4 (available: v2.0.0) [INFO] [stderr] Adding cw20 v0.8.1 (available: v2.0.0) [INFO] [stderr] Adding cw20 v0.13.4 (available: v2.0.0) [INFO] [stderr] Adding cw20-base v0.8.1 (available: v2.0.0) [INFO] [stderr] Adding der v0.4.5 (available: v0.7.9) [INFO] [stderr] Adding der v0.5.1 (available: v0.7.9) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding ecdsa v0.12.4 (available: v0.16.9) [INFO] [stderr] Adding ecdsa v0.13.4 (available: v0.16.9) [INFO] [stderr] Adding ed25519-zebra v2.2.0 (available: v4.0.3) [INFO] [stderr] Adding ed25519-zebra v3.1.0 (available: v4.0.3) [INFO] [stderr] Adding elliptic-curve v0.10.6 (available: v0.13.8) [INFO] [stderr] Adding elliptic-curve v0.11.12 (available: v0.13.8) [INFO] [stderr] Adding ff v0.10.1 (available: v0.13.0) [INFO] [stderr] Adding ff v0.11.1 (available: v0.13.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding group v0.10.0 (available: v0.13.0) [INFO] [stderr] Adding group v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hmac v0.11.0 (available: v0.12.1) [INFO] [stderr] Adding k256 v0.9.6 (available: v0.13.4) [INFO] [stderr] Adding k256 v0.10.4 (available: v0.13.4) [INFO] [stderr] Adding pkcs8 v0.7.6 (available: v0.10.2) [INFO] [stderr] Adding pkcs8 v0.8.0 (available: v0.10.2) [INFO] [stderr] Adding protobuf v2.28.0 (available: v3.5.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rfc6979 v0.1.0 (available: v0.4.0) [INFO] [stderr] Adding sec1 v0.2.1 (available: v0.7.3) [INFO] [stderr] Adding serde-json-wasm v0.3.2 (available: v1.0.1) [INFO] [stderr] Adding serde-json-wasm v0.4.1 (available: v1.0.1) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding signature v1.3.2 (available: v1.6.4) [INFO] [stderr] Adding spki v0.4.1 (available: v0.7.3) [INFO] [stderr] Adding spki v0.5.4 (available: v0.7.3) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding uint v0.9.5 (available: v0.10.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding zeroize v1.4.3 (available: v1.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cosmwasm-crypto v1.0.1 [INFO] [stderr] Downloaded cw2 v0.8.1 [INFO] [stderr] Downloaded cosmwasm-storage v1.0.1 [INFO] [stderr] Downloaded cw20-base v0.8.1 [INFO] [stderr] Downloaded cw-controllers v0.8.1 [INFO] [stderr] Downloaded cosmwasm-bignumber v2.2.0 [INFO] [stderr] Downloaded terraswap v2.9.0 [INFO] [stderr] Downloaded cosmwasm-std v1.0.1 [INFO] [stderr] Downloaded bigint v4.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 454d243bac24c6ff55b9c71423df81710ee62b7e67d889ef7072be8f7a67809c [INFO] running `Command { std: "docker" "start" "-a" "454d243bac24c6ff55b9c71423df81710ee62b7e67d889ef7072be8f7a67809c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "454d243bac24c6ff55b9c71423df81710ee62b7e67d889ef7072be8f7a67809c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "454d243bac24c6ff55b9c71423df81710ee62b7e67d889ef7072be8f7a67809c", kill_on_drop: false }` [INFO] [stdout] 454d243bac24c6ff55b9c71423df81710ee62b7e67d889ef7072be8f7a67809c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc786efd57f8d7d3f4171a3e5f0531e6fbcbf47db3ac1e4673ca5789c4e82b92 [INFO] running `Command { std: "docker" "start" "-a" "bc786efd57f8d7d3f4171a3e5f0531e6fbcbf47db3ac1e4673ca5789c4e82b92", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking forward_ref v1.0.0 [INFO] [stderr] Checking const-oid v0.6.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Checking der v0.4.5 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking ff v0.11.1 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Checking bigint v4.4.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking spki v0.4.1 [INFO] [stderr] Checking pkcs8 v0.7.6 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-bigint v0.2.11 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Checking sec1 v0.2.1 [INFO] [stderr] Checking signature v1.3.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking elliptic-curve v0.10.6 [INFO] [stderr] Checking rfc6979 v0.1.0 [INFO] [stderr] Checking elliptic-curve v0.11.12 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Checking ecdsa v0.13.4 [INFO] [stderr] Checking k256 v0.9.6 [INFO] [stderr] Checking k256 v0.10.4 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling cosmwasm-derive v0.16.7 [INFO] [stderr] Compiling cosmwasm-derive v1.5.8 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking ed25519-zebra v2.2.0 [INFO] [stderr] Checking serde-json-wasm v0.3.2 [INFO] [stderr] Checking ed25519-zebra v3.1.0 [INFO] [stderr] Checking serde-json-wasm v0.4.1 [INFO] [stderr] Checking cosmwasm-crypto v0.16.7 [INFO] [stderr] Checking cosmwasm-crypto v1.0.1 [INFO] [stderr] Checking cosmwasm-std v0.16.7 [INFO] [stderr] Checking cosmwasm-std v1.0.1 [INFO] [stderr] Checking cw-storage-plus v0.8.1 [INFO] [stderr] Checking cw0 v0.8.1 [INFO] [stderr] Checking cosmwasm-storage v0.16.7 [INFO] [stderr] Checking cosmwasm-bignumber v2.2.0 [INFO] [stderr] Checking terra-cosmwasm v2.2.0 [INFO] [stderr] Checking cw20 v0.8.1 [INFO] [stderr] Checking cw2 v0.8.1 [INFO] [stderr] Checking cw-controllers v0.8.1 [INFO] [stderr] Checking cw-storage-plus v0.13.4 [INFO] [stderr] Checking cw-utils v0.13.4 [INFO] [stderr] Checking cosmwasm-storage v1.0.1 [INFO] [stderr] Checking cw20-base v0.8.1 [INFO] [stderr] Checking cw20 v0.13.4 [INFO] [stderr] Checking cw2 v0.13.4 [INFO] [stderr] Checking terraswap v2.9.0 [INFO] [stderr] Checking pandora-os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/astroport_helper.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | amount: offer.amount, [INFO] [stdout] | ^^^^^^^^^^^^ expected `Uint128`, found `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/fee.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | asset.into_msg(&deps.querier, recipient) [INFO] [stdout] | ^^^^^^^^ ------------- --------- unexpected argument #2 of type `Addr` [INFO] [stdout] | | [INFO] [stdout] | expected `Addr`, found `&QuerierWrapper<'_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/terraswap-2.9.0/src/asset.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn into_msg(self, recipient: Addr) -> StdResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 19 - asset.into_msg(&deps.querier, recipient) [INFO] [stdout] 19 + asset.into_msg(/* cosmwasm_std::addresses::Addr */) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fee.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn msg(&self, deps: Deps, asset: Asset, recipient: Addr) -> StdResult { [INFO] [stdout] | -------------------- expected `Result` because of return type [INFO] [stdout] 19 | asset.into_msg(&deps.querier, recipient) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CosmosMsg`, found a different `CosmosMsg` [INFO] [stdout] | [INFO] [stdout] = note: `CosmosMsg` and `CosmosMsg` have similar names, but are actually distinct types [INFO] [stdout] note: `CosmosMsg` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/results/cosmos_msg.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum CosmosMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `CosmosMsg` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/results/cosmos_msg.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum CosmosMsg [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/astroport_helper.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | amount: offer.amount, [INFO] [stdout] | ^^^^^^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/query/astroport.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | amount: offer_coin.amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `Uint128`, found `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/query/astroport.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | Ok(response.return_amount) [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::Uint128`, found `Uint128` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `cosmwasm_std::Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] help: the type constructed contains `cosmwasm_std::math::uint128::Uint128` due to the type of the argument passed [INFO] [stdout] --> src/query/astroport.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Ok(response.return_amount) [INFO] [stdout] | ^^^----------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cosmwasm_std::Uint128: From` is not satisfied [INFO] [stdout] --> src/query/astroport.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | let ratio = Decimal::from_ratio(response.assets[0].amount, response.assets[1].amount); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `cosmwasm_std::Uint128`, which is required by `cosmwasm_std::math::uint128::Uint128: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] = note: required for `cosmwasm_std::math::uint128::Uint128` to implement `Into` [INFO] [stdout] note: required by a bound in `cosmwasm_std::Decimal::from_ratio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ratio(numerator: impl Into, denominator: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Decimal::from_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cosmwasm_std::Uint128: From` is not satisfied [INFO] [stdout] --> src/query/astroport.rs:53:64 [INFO] [stdout] | [INFO] [stdout] 53 | let ratio = Decimal::from_ratio(response.assets[0].amount, response.assets[1].amount); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `cosmwasm_std::Uint128`, which is required by `cosmwasm_std::math::uint128::Uint128: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] = note: required for `cosmwasm_std::math::uint128::Uint128` to implement `Into` [INFO] [stdout] note: required by a bound in `cosmwasm_std::Decimal::from_ratio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:48:72 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ratio(numerator: impl Into, denominator: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Decimal::from_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/query/terraswap.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | amount: offer_coin.amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `Uint128`, found `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/query/terraswap.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(response.return_amount) [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::Uint128`, found `Uint128` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `cosmwasm_std::Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] help: the type constructed contains `cosmwasm_std::math::uint128::Uint128` due to the type of the argument passed [INFO] [stdout] --> src/query/terraswap.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(response.return_amount) [INFO] [stdout] | ^^^----------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cosmwasm_std::Uint128: From` is not satisfied [INFO] [stdout] --> src/query/terraswap.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | let ratio = Decimal::from_ratio(response.assets[0].amount, response.assets[1].amount); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `cosmwasm_std::Uint128`, which is required by `cosmwasm_std::math::uint128::Uint128: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] = note: required for `cosmwasm_std::math::uint128::Uint128` to implement `Into` [INFO] [stdout] note: required by a bound in `cosmwasm_std::Decimal::from_ratio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ratio(numerator: impl Into, denominator: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Decimal::from_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cosmwasm_std::Uint128: From` is not satisfied [INFO] [stdout] --> src/query/terraswap.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | let ratio = Decimal::from_ratio(response.assets[0].amount, response.assets[1].amount); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `cosmwasm_std::Uint128`, which is required by `cosmwasm_std::math::uint128::Uint128: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] = note: required for `cosmwasm_std::math::uint128::Uint128` to implement `Into` [INFO] [stdout] note: required by a bound in `cosmwasm_std::Decimal::from_ratio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:48:72 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ratio(numerator: impl Into, denominator: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Decimal::from_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/query/terraswap.rs:53:45 [INFO] [stdout] | [INFO] [stdout] 53 | AssetInfo::NativeToken { denom } => query_balance(&deps.querier, address, denom)?, [INFO] [stdout] | ^^^^^^^^^^^^^ ------- expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | [INFO] [stdout] note: expected `QuerierWrapper<'_>`, found a different `QuerierWrapper<'_>` [INFO] [stdout] --> src/query/terraswap.rs:53:59 [INFO] [stdout] | [INFO] [stdout] 53 | AssetInfo::NativeToken { denom } => query_balance(&deps.querier, address, denom)?, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `QuerierWrapper<'_>` and `QuerierWrapper<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/traits.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct QuerierWrapper<'a>(&'a dyn Querier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/traits.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct QuerierWrapper<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] = note: `Addr` and `cosmwasm_std::addresses::Addr` have similar names, but are actually distinct types [INFO] [stdout] note: `Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::addresses::Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/terraswap-2.9.0/src/querier.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn query_balance( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `cosmwasm_std::StdError` [INFO] [stdout] --> src/query/terraswap.rs:53:89 [INFO] [stdout] | [INFO] [stdout] 51 | ) -> StdResult { [INFO] [stdout] | ------------------ expected `cosmwasm_std::StdError` because of this [INFO] [stdout] 52 | let amount = match asset_info.clone() { [INFO] [stdout] 53 | AssetInfo::NativeToken { denom } => query_balance(&deps.querier, address, denom)?, [INFO] [stdout] | --------------------------------------------^ the trait `From` is not implemented for `cosmwasm_std::StdError`, which is required by `Result: FromResidual>` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, cosmwasm_std::errors::std_error::StdError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/query/terraswap.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | deps.api.addr_validate(contract_addr.as_str())?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `Addr` to `cosmwasm_std::addresses::Addr` [INFO] [stdout] = note: `Addr` and `cosmwasm_std::addresses::Addr` have similar names, but are actually distinct types [INFO] [stdout] note: `Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::addresses::Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/query/terraswap.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | AssetInfo::Token { contract_addr } => query_token_balance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | address, [INFO] [stdout] | ------- expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | [INFO] [stdout] note: expected `QuerierWrapper<'_>`, found a different `QuerierWrapper<'_>` [INFO] [stdout] --> src/query/terraswap.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | &deps.querier, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `QuerierWrapper<'_>` and `QuerierWrapper<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/traits.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct QuerierWrapper<'a>(&'a dyn Querier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/traits.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct QuerierWrapper<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] = note: `Addr` and `cosmwasm_std::addresses::Addr` have similar names, but are actually distinct types [INFO] [stdout] note: `Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::addresses::Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/terraswap-2.9.0/src/querier.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn query_token_balance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `cosmwasm_std::StdError` [INFO] [stdout] --> src/query/terraswap.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 51 | ) -> StdResult { [INFO] [stdout] | ------------------ expected `cosmwasm_std::StdError` because of this [INFO] [stdout] ... [INFO] [stdout] 54 | AssetInfo::Token { contract_addr } => query_token_balance( [INFO] [stdout] | _______________________________________________- [INFO] [stdout] 55 | | &deps.querier, [INFO] [stdout] 56 | | deps.api.addr_validate(contract_addr.as_str())?, [INFO] [stdout] 57 | | address, [INFO] [stdout] 58 | | )?, [INFO] [stdout] | | -^ the trait `From` is not implemented for `cosmwasm_std::StdError`, which is required by `Result: FromResidual>` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, cosmwasm_std::errors::std_error::StdError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/query/terraswap.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(amount) [INFO] [stdout] | -- ^^^^^^ expected `cosmwasm_std::Uint128`, found `Uint128` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `cosmwasm_std::Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] help: the type constructed contains `cosmwasm_std::math::uint128::Uint128` due to the type of the argument passed [INFO] [stdout] --> src/query/terraswap.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(amount) [INFO] [stdout] | ^^^------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tax.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | amount, [INFO] [stdout] | ^^^^^^ expected `cosmwasm_std::Uint128`, found `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `cosmwasm_std::Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/fee.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | asset.into_msg(&deps.querier, recipient) [INFO] [stdout] | ^^^^^^^^ ------------- --------- unexpected argument #2 of type `Addr` [INFO] [stdout] | | [INFO] [stdout] | expected `Addr`, found `&QuerierWrapper<'_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/terraswap-2.9.0/src/asset.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn into_msg(self, recipient: Addr) -> StdResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 19 - asset.into_msg(&deps.querier, recipient) [INFO] [stdout] 19 + asset.into_msg(/* cosmwasm_std::addresses::Addr */) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fee.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn msg(&self, deps: Deps, asset: Asset, recipient: Addr) -> StdResult { [INFO] [stdout] | -------------------- expected `Result` because of return type [INFO] [stdout] 19 | asset.into_msg(&deps.querier, recipient) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CosmosMsg`, found a different `CosmosMsg` [INFO] [stdout] | [INFO] [stdout] = note: `CosmosMsg` and `CosmosMsg` have similar names, but are actually distinct types [INFO] [stdout] note: `CosmosMsg` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/results/cosmos_msg.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum CosmosMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `CosmosMsg` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/results/cosmos_msg.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum CosmosMsg [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/query/astroport.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | amount: offer_coin.amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/query/astroport.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | Ok(response.return_amount) [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] help: the type constructed contains `cosmwasm_std::math::uint128::Uint128` due to the type of the argument passed [INFO] [stdout] --> src/query/astroport.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Ok(response.return_amount) [INFO] [stdout] | ^^^----------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: From` is not satisfied [INFO] [stdout] --> src/query/astroport.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | let ratio = Decimal::from_ratio(response.assets[0].amount, response.assets[1].amount); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `Uint128`, which is required by `cosmwasm_std::math::uint128::Uint128: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] = note: required for `cosmwasm_std::math::uint128::Uint128` to implement `Into` [INFO] [stdout] note: required by a bound in `Decimal::from_ratio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ratio(numerator: impl Into, denominator: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Decimal::from_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: From` is not satisfied [INFO] [stdout] --> src/query/astroport.rs:53:64 [INFO] [stdout] | [INFO] [stdout] 53 | let ratio = Decimal::from_ratio(response.assets[0].amount, response.assets[1].amount); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `Uint128`, which is required by `cosmwasm_std::math::uint128::Uint128: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] = note: required for `cosmwasm_std::math::uint128::Uint128` to implement `Into` [INFO] [stdout] note: required by a bound in `Decimal::from_ratio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:48:72 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ratio(numerator: impl Into, denominator: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Decimal::from_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/query/terraswap.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | amount: offer_coin.amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/query/terraswap.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(response.return_amount) [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] help: the type constructed contains `cosmwasm_std::math::uint128::Uint128` due to the type of the argument passed [INFO] [stdout] --> src/query/terraswap.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(response.return_amount) [INFO] [stdout] | ^^^----------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: From` is not satisfied [INFO] [stdout] --> src/query/terraswap.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | let ratio = Decimal::from_ratio(response.assets[0].amount, response.assets[1].amount); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `Uint128`, which is required by `cosmwasm_std::math::uint128::Uint128: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] = note: required for `cosmwasm_std::math::uint128::Uint128` to implement `Into` [INFO] [stdout] note: required by a bound in `Decimal::from_ratio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ratio(numerator: impl Into, denominator: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Decimal::from_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: From` is not satisfied [INFO] [stdout] --> src/query/terraswap.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | let ratio = Decimal::from_ratio(response.assets[0].amount, response.assets[1].amount); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `Uint128`, which is required by `cosmwasm_std::math::uint128::Uint128: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] = note: required for `cosmwasm_std::math::uint128::Uint128` to implement `Into` [INFO] [stdout] note: required by a bound in `Decimal::from_ratio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:48:72 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ratio(numerator: impl Into, denominator: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Decimal::from_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/query/terraswap.rs:53:45 [INFO] [stdout] | [INFO] [stdout] 53 | AssetInfo::NativeToken { denom } => query_balance(&deps.querier, address, denom)?, [INFO] [stdout] | ^^^^^^^^^^^^^ ------- expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | [INFO] [stdout] note: expected `QuerierWrapper<'_>`, found a different `QuerierWrapper<'_>` [INFO] [stdout] --> src/query/terraswap.rs:53:59 [INFO] [stdout] | [INFO] [stdout] 53 | AssetInfo::NativeToken { denom } => query_balance(&deps.querier, address, denom)?, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `QuerierWrapper<'_>` and `QuerierWrapper<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/traits.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct QuerierWrapper<'a>(&'a dyn Querier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/traits.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct QuerierWrapper<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] = note: `Addr` and `cosmwasm_std::addresses::Addr` have similar names, but are actually distinct types [INFO] [stdout] note: `Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::addresses::Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/terraswap-2.9.0/src/querier.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn query_balance( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `cosmwasm_std::StdError` [INFO] [stdout] --> src/query/terraswap.rs:53:89 [INFO] [stdout] | [INFO] [stdout] 51 | ) -> StdResult { [INFO] [stdout] | ------------------ expected `cosmwasm_std::StdError` because of this [INFO] [stdout] 52 | let amount = match asset_info.clone() { [INFO] [stdout] 53 | AssetInfo::NativeToken { denom } => query_balance(&deps.querier, address, denom)?, [INFO] [stdout] | --------------------------------------------^ the trait `From` is not implemented for `cosmwasm_std::StdError`, which is required by `Result: FromResidual>` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, cosmwasm_std::errors::std_error::StdError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/query/terraswap.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | deps.api.addr_validate(contract_addr.as_str())?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `Addr` to `cosmwasm_std::addresses::Addr` [INFO] [stdout] = note: `Addr` and `cosmwasm_std::addresses::Addr` have similar names, but are actually distinct types [INFO] [stdout] note: `Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::addresses::Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/query/terraswap.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | AssetInfo::Token { contract_addr } => query_token_balance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | address, [INFO] [stdout] | ------- expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | [INFO] [stdout] note: expected `QuerierWrapper<'_>`, found a different `QuerierWrapper<'_>` [INFO] [stdout] --> src/query/terraswap.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | &deps.querier, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `QuerierWrapper<'_>` and `QuerierWrapper<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/traits.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct QuerierWrapper<'a>(&'a dyn Querier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/traits.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct QuerierWrapper<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] = note: `Addr` and `cosmwasm_std::addresses::Addr` have similar names, but are actually distinct types [INFO] [stdout] note: `Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::addresses::Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/terraswap-2.9.0/src/querier.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn query_token_balance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `cosmwasm_std::StdError` [INFO] [stdout] --> src/query/terraswap.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 51 | ) -> StdResult { [INFO] [stdout] | ------------------ expected `cosmwasm_std::StdError` because of this [INFO] [stdout] ... [INFO] [stdout] 54 | AssetInfo::Token { contract_addr } => query_token_balance( [INFO] [stdout] | _______________________________________________- [INFO] [stdout] 55 | | &deps.querier, [INFO] [stdout] 56 | | deps.api.addr_validate(contract_addr.as_str())?, [INFO] [stdout] 57 | | address, [INFO] [stdout] 58 | | )?, [INFO] [stdout] | | -^ the trait `From` is not implemented for `cosmwasm_std::StdError`, which is required by `Result: FromResidual>` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, cosmwasm_std::errors::std_error::StdError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/query/terraswap.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(amount) [INFO] [stdout] | -- ^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] help: the type constructed contains `cosmwasm_std::math::uint128::Uint128` due to the type of the argument passed [INFO] [stdout] --> src/query/terraswap.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(amount) [INFO] [stdout] | ^^^------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tax.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | amount, [INFO] [stdout] | ^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cosmwasm_std::Uint128: From` is not satisfied [INFO] [stdout] --> src/treasury/state.rs:30:57 [INFO] [stdout] | [INFO] [stdout] 30 | let share: Decimal = Decimal::from_ratio(*holdings, total_lp); [INFO] [stdout] | ------------------- ^^^^^^^^ the trait `From` is not implemented for `cosmwasm_std::Uint128`, which is required by `cosmwasm_std::math::uint128::Uint128: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] = note: required for `cosmwasm_std::math::uint128::Uint128` to implement `Into` [INFO] [stdout] note: required by a bound in `cosmwasm_std::Decimal::from_ratio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:48:72 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ratio(numerator: impl Into, denominator: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Decimal::from_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/treasury/state.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | let vault_asset_1_amount = share * asset_1.amount; [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `cosmwasm_std::Uint128`, found `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `cosmwasm_std::Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/treasury/state.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | let vault_asset_2_amount = share * asset_2.amount; [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `cosmwasm_std::Uint128`, found `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `cosmwasm_std::Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/treasury/vault_assets.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | self.asset.amount = holding; [INFO] [stdout] | ----------------- ^^^^^^^ expected `Uint128`, found `cosmwasm_std::Uint128` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/treasury/vault_assets.rs:93:41 [INFO] [stdout] | [INFO] [stdout] 93 | ... amount: self.asset.amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::Uint128`, found `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `cosmwasm_std::Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cosmwasm_std::Uint128: From` is not satisfied [INFO] [stdout] --> src/treasury/vault_assets.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | let ratio = Decimal::from_ratio(pool_info.assets[0].amount, pool_info.assets[1].amount); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `cosmwasm_std::Uint128`, which is required by `cosmwasm_std::math::uint128::Uint128: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] = note: required for `cosmwasm_std::math::uint128::Uint128` to implement `Into` [INFO] [stdout] note: required by a bound in `cosmwasm_std::Decimal::from_ratio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ratio(numerator: impl Into, denominator: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Decimal::from_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cosmwasm_std::Uint128: From` is not satisfied [INFO] [stdout] --> src/treasury/vault_assets.rs:109:69 [INFO] [stdout] | [INFO] [stdout] 109 | let ratio = Decimal::from_ratio(pool_info.assets[0].amount, pool_info.assets[1].amount); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `cosmwasm_std::Uint128`, which is required by `cosmwasm_std::math::uint128::Uint128: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] `cosmwasm_std::Uint128` implements `From` [INFO] [stdout] = note: required for `cosmwasm_std::math::uint128::Uint128` to implement `Into` [INFO] [stdout] note: required by a bound in `cosmwasm_std::Decimal::from_ratio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:48:72 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ratio(numerator: impl Into, denominator: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Decimal::from_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `cosmwasm_std::Decimal` [INFO] [stdout] --> src/treasury/vault_assets.rs:117:55 [INFO] [stdout] | [INFO] [stdout] 117 | amount_in_other_denom = self.asset.amount * reverse_decimal(ratio); [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * cosmwasm_std::Decimal` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul` is not implemented for `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] = help: the following other types implement trait `std::ops::Mul`: [INFO] [stdout] `&'a cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul` [INFO] [stdout] `&cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `cosmwasm_std::Decimal` [INFO] [stdout] --> src/treasury/vault_assets.rs:121:55 [INFO] [stdout] | [INFO] [stdout] 121 | amount_in_other_denom = self.asset.amount * ratio; [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * cosmwasm_std::Decimal` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul` is not implemented for `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] = help: the following other types implement trait `std::ops::Mul`: [INFO] [stdout] `&'a cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul` [INFO] [stdout] `&cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ust_vault/terraswap.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | amount: offer.amount, [INFO] [stdout] | ^^^^^^^^^^^^ expected `Uint128`, found `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ust_vault/terraswap.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | belief_price: Some(belief_price), [INFO] [stdout] | ---- ^^^^^^^^^^^^ expected `Decimal`, found `cosmwasm_std::Decimal` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::Decimal` and `Decimal` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/decimal.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] help: the type constructed contains `cosmwasm_std::Decimal` due to the type of the argument passed [INFO] [stdout] --> src/ust_vault/terraswap.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | belief_price: Some(belief_price), [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ust_vault/terraswap.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | max_spread, [INFO] [stdout] | ^^^^^^^^^^ expected `Decimal`, found `cosmwasm_std::Decimal` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::Decimal` and `Decimal` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/decimal.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `deadline` in initializer of `terraswap::pair::ExecuteMsg` [INFO] [stdout] --> src/ust_vault/terraswap.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | HandleMsg::Swap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ missing `deadline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: From` is not satisfied [INFO] [stdout] --> src/treasury/state.rs:30:57 [INFO] [stdout] | [INFO] [stdout] 30 | let share: Decimal = Decimal::from_ratio(*holdings, total_lp); [INFO] [stdout] | ------------------- ^^^^^^^^ the trait `From` is not implemented for `Uint128`, which is required by `cosmwasm_std::math::uint128::Uint128: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] = note: required for `cosmwasm_std::math::uint128::Uint128` to implement `Into` [INFO] [stdout] note: required by a bound in `Decimal::from_ratio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:48:72 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ratio(numerator: impl Into, denominator: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Decimal::from_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/treasury/state.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | let vault_asset_1_amount = share * asset_1.amount; [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/treasury/state.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | let vault_asset_2_amount = share * asset_2.amount; [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/treasury/vault_assets.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | self.asset.amount = holding; [INFO] [stdout] | ----------------- ^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/treasury/vault_assets.rs:93:41 [INFO] [stdout] | [INFO] [stdout] 93 | ... amount: self.asset.amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: From` is not satisfied [INFO] [stdout] --> src/treasury/vault_assets.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | let ratio = Decimal::from_ratio(pool_info.assets[0].amount, pool_info.assets[1].amount); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `Uint128`, which is required by `cosmwasm_std::math::uint128::Uint128: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] = note: required for `cosmwasm_std::math::uint128::Uint128` to implement `Into` [INFO] [stdout] note: required by a bound in `Decimal::from_ratio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ratio(numerator: impl Into, denominator: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Decimal::from_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: From` is not satisfied [INFO] [stdout] --> src/treasury/vault_assets.rs:109:69 [INFO] [stdout] | [INFO] [stdout] 109 | let ratio = Decimal::from_ratio(pool_info.assets[0].amount, pool_info.assets[1].amount); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `Uint128`, which is required by `cosmwasm_std::math::uint128::Uint128: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] `Uint128` implements `From` [INFO] [stdout] = note: required for `cosmwasm_std::math::uint128::Uint128` to implement `Into` [INFO] [stdout] note: required by a bound in `Decimal::from_ratio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:48:72 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ratio(numerator: impl Into, denominator: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Decimal::from_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `Decimal` [INFO] [stdout] --> src/treasury/vault_assets.rs:117:55 [INFO] [stdout] | [INFO] [stdout] 117 | amount_in_other_denom = self.asset.amount * reverse_decimal(ratio); [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * Decimal` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul` is not implemented for `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] = help: the following other types implement trait `std::ops::Mul`: [INFO] [stdout] `&'a cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul` [INFO] [stdout] `&cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `Decimal` [INFO] [stdout] --> src/treasury/vault_assets.rs:121:55 [INFO] [stdout] | [INFO] [stdout] 121 | amount_in_other_denom = self.asset.amount * ratio; [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * Decimal` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul` is not implemented for `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] = help: the following other types implement trait `std::ops::Mul`: [INFO] [stdout] `&'a cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul` [INFO] [stdout] `&cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ust_vault/terraswap.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | amount: offer.amount, [INFO] [stdout] | ^^^^^^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/uint128.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/uint128.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ust_vault/terraswap.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | belief_price: Some(belief_price), [INFO] [stdout] | ---- ^^^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Decimal` and `Decimal` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/decimal.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] help: the type constructed contains `Decimal` due to the type of the argument passed [INFO] [stdout] --> src/ust_vault/terraswap.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | belief_price: Some(belief_price), [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ust_vault/terraswap.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | max_spread, [INFO] [stdout] | ^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | [INFO] [stdout] = note: `Decimal` and `Decimal` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.7/src/math/decimal.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.0.1/src/math/decimal.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `deadline` in initializer of `terraswap::pair::ExecuteMsg` [INFO] [stdout] --> src/ust_vault/terraswap.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | HandleMsg::Swap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ missing `deadline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pandora-os` (lib test) due to 32 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pandora-os` (lib) due to 32 previous errors [INFO] running `Command { std: "docker" "inspect" "bc786efd57f8d7d3f4171a3e5f0531e6fbcbf47db3ac1e4673ca5789c4e82b92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc786efd57f8d7d3f4171a3e5f0531e6fbcbf47db3ac1e4673ca5789c4e82b92", kill_on_drop: false }` [INFO] [stdout] bc786efd57f8d7d3f4171a3e5f0531e6fbcbf47db3ac1e4673ca5789c4e82b92