[INFO] fetching crate mars-core 1.0.0... [INFO] checking mars-core-1.0.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate mars-core 1.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate mars-core 1.0.0 [INFO] finished tweaking crates.io crate mars-core 1.0.0 [INFO] tweaked toml for crates.io crate mars-core 1.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mars-core 1.0.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 93 packages to latest compatible versions [INFO] [stderr] Adding astroport v1.2.0 (available: v5.9.0) [INFO] [stderr] Adding cosmwasm-crypto v1.0.1 (available: v1.5.11) [INFO] [stderr] Adding cosmwasm-std v0.16.7 (available: v3.0.1) [INFO] [stderr] Adding cosmwasm-std v1.0.1 (available: v1.5.11) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding cw2 v0.9.2 (available: v3.0.0) [INFO] [stderr] Adding cw20 v0.9.1 (available: v2.0.0) [INFO] [stderr] Adding cw20-base v0.9.1 (available: v2.0.0) [INFO] [stderr] Adding schemars v0.8.22 (available: v1.0.4) [INFO] [stderr] Adding signature v1.3.2 (available: v1.6.4) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cc2d301ac08c1a4d0886ec3815332f00a454bd92fe040dd972fee5b3b34a394 [INFO] running `Command { std: "docker" "start" "-a" "5cc2d301ac08c1a4d0886ec3815332f00a454bd92fe040dd972fee5b3b34a394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cc2d301ac08c1a4d0886ec3815332f00a454bd92fe040dd972fee5b3b34a394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cc2d301ac08c1a4d0886ec3815332f00a454bd92fe040dd972fee5b3b34a394", kill_on_drop: false }` [INFO] [stdout] 5cc2d301ac08c1a4d0886ec3815332f00a454bd92fe040dd972fee5b3b34a394 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51658e0dfa355e381f3108e49629ec4747969c9e3c2ef9ee4090412285135403 [INFO] running `Command { std: "docker" "start" "-a" "51658e0dfa355e381f3108e49629ec4747969c9e3c2ef9ee4090412285135403", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking const-oid v0.6.2 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking der v0.4.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking forward_ref v1.0.0 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking spki v0.4.1 [INFO] [stderr] Checking pkcs8 v0.7.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking spki v0.5.4 [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 pkcs8 v0.8.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sec1 v0.2.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking signature v1.3.2 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking crypto-bigint v0.2.11 [INFO] [stderr] Checking ff v0.11.1 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking elliptic-curve v0.10.6 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Checking elliptic-curve v0.11.12 [INFO] [stderr] Checking rfc6979 v0.1.0 [INFO] [stderr] Checking k256 v0.9.6 [INFO] [stderr] Checking ecdsa v0.13.4 [INFO] [stderr] Checking k256 v0.10.4 [INFO] [stderr] Compiling cosmwasm-derive v0.16.7 [INFO] [stderr] Compiling cosmwasm-derive v1.5.11 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling schemars_derive v0.8.22 [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 v1.0.1 [INFO] [stderr] Checking cosmwasm-crypto v0.16.7 [INFO] [stderr] Checking cosmwasm-std v0.16.7 [INFO] [stderr] Checking cosmwasm-std v1.0.1 [INFO] [stderr] Checking cw0 v0.9.1 [INFO] [stderr] Checking cw-storage-plus v0.9.2 [INFO] [stderr] Checking terra-cosmwasm v2.2.0 [INFO] [stderr] Checking cw20 v0.9.1 [INFO] [stderr] Checking cw-utils v0.13.4 [INFO] [stderr] Checking cw-storage-plus v0.13.4 [INFO] [stderr] Checking cw2 v0.9.2 [INFO] [stderr] Checking cw20 v0.13.4 [INFO] [stderr] Checking cw20-base v0.9.1 [INFO] [stderr] Checking astroport v1.2.0 [INFO] [stderr] Checking mars-core v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/swapping.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | let pair_info: PairInfo = query_pair_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | &deps.querier, [INFO] [stdout] 76 | astroport_factory_addr, [INFO] [stdout] | ---------------------- expected `cosmwasm_std::addresses::Addr`, found `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] note: expected `cosmwasm_std::traits::QuerierWrapper<'_>`, found `QuerierWrapper<'_>` [INFO] [stdout] --> src/swapping.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | &deps.querier, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.7/src/traits.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct QuerierWrapper<'a>(&'a dyn Querier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `QuerierWrapper` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.0.1/src/traits.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct QuerierWrapper<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::traits::QuerierWrapper` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::addresses::Addr` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/astroport-1.2.0/src/querier.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn query_pair_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | amount: amount_to_swap, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `cosmwasm_std::math::uint128::Uint128`, found `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `cosmwasm_std::StdError` [INFO] [stdout] --> src/swapping.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> StdResult { [INFO] [stdout] | ------------------- expected `cosmwasm_std::StdError` because of this [INFO] [stdout] ... [INFO] [stdout] 74 | let pair_info: PairInfo = query_pair_info( [INFO] [stdout] | _______________________________- [INFO] [stdout] 75 | | &deps.querier, [INFO] [stdout] 76 | | astroport_factory_addr, [INFO] [stdout] 77 | | &[offer_asset_info.clone(), ask_asset_info], [INFO] [stdout] 78 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `cosmwasm_std::StdError` [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] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | max_spread, [INFO] [stdout] | ^^^^^^^^^^ expected `cosmwasm_std::math::decimal::Decimal`, found `cosmwasm_std::Decimal` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Decimal` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | amount: offer_asset.amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::Uint128`, found `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | amount: offer_asset.amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::Uint128`, found `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | max_spread, [INFO] [stdout] | ^^^^^^^^^^ expected `cosmwasm_std::math::decimal::Decimal`, found `cosmwasm_std::Decimal` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Decimal` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:158:36 [INFO] [stdout] | [INFO] [stdout] 158 | contract_addr: Addr::unchecked("somecoin_addr"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::addresses::Addr` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:197:28 [INFO] [stdout] | [INFO] [stdout] 197 | contract_addr: cw20_contract_address, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::addresses::Addr` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | contract_addr: Addr::unchecked("cw20_token"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::addresses::Addr` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:258:28 [INFO] [stdout] | [INFO] [stdout] 258 | contract_addr: cw20_contract_address.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::addresses::Addr` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:261:28 [INFO] [stdout] | [INFO] [stdout] 261 | contract_addr: Addr::unchecked("mars"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::addresses::Addr` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:266:28 [INFO] [stdout] | [INFO] [stdout] 266 | contract_addr: Addr::unchecked("pair_cw20_mars"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::addresses::Addr` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:267:30 [INFO] [stdout] | [INFO] [stdout] 267 | liquidity_token: Addr::unchecked("lp_cw20_mars"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::addresses::Addr` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:292:48 [INFO] [stdout] | [INFO] [stdout] 292 | ... contract_addr: cw20_contract_address.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::addresses::Addr` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:294:37 [INFO] [stdout] | [INFO] [stdout] 294 | ... amount: Uint128::new(999), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::math::uint128::Uint128`, found `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:331:28 [INFO] [stdout] | [INFO] [stdout] 331 | contract_addr: Addr::unchecked("mars"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::addresses::Addr` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:336:28 [INFO] [stdout] | [INFO] [stdout] 336 | contract_addr: Addr::unchecked("pair_uusd_mars"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::addresses::Addr` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | liquidity_token: Addr::unchecked("lp_uusd_mars"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Addr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::addresses::Addr` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:361:33 [INFO] [stdout] | [INFO] [stdout] 361 | amount: contract_asset_balance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::math::uint128::Uint128`, found `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:364:38 [INFO] [stdout] | [INFO] [stdout] 364 | max_spread: Some(StdDecimal::from_ratio(1u128, 100u128)), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::math::decimal::Decimal`, found `cosmwasm_std::Decimal` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Decimal` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] help: the type constructed contains `cosmwasm_std::Decimal` due to the type of the argument passed [INFO] [stdout] --> src/swapping.rs:364:33 [INFO] [stdout] | [INFO] [stdout] 364 | max_spread: Some(StdDecimal::from_ratio(1u128, 100u128)), [INFO] [stdout] | ^^^^^--------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/option.rs:601:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testing/mars_mock_querier.rs:197:29 [INFO] [stdout] | [INFO] [stdout] 197 | amount: Uint128::zero(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `cosmwasm_std::math::uint128::Uint128`, found `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testing/mars_mock_querier.rs:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | amount: Uint128::zero(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `cosmwasm_std::math::uint128::Uint128`, found `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testing/mars_mock_querier.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | total_share: Uint128::zero(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `cosmwasm_std::math::uint128::Uint128`, found `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/swapping.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | let pair_info: PairInfo = query_pair_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | &deps.querier, [INFO] [stdout] 76 | astroport_factory_addr, [INFO] [stdout] | ---------------------- expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | [INFO] [stdout] note: expected `cosmwasm_std::traits::QuerierWrapper<'_>`, found `QuerierWrapper<'_>` [INFO] [stdout] --> src/swapping.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | &deps.querier, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.7/src/traits.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct QuerierWrapper<'a>(&'a dyn Querier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `QuerierWrapper` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.0.1/src/traits.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct QuerierWrapper<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::traits::QuerierWrapper` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-0.16.7/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `Addr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cosmwasm-std-1.0.1/src/addresses.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::addresses::Addr` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/astroport-1.2.0/src/querier.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn query_pair_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | amount: amount_to_swap, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `cosmwasm_std::math::uint128::Uint128`, found `Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `cosmwasm_std::StdError` [INFO] [stdout] --> src/swapping.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> StdResult { [INFO] [stdout] | ------------------- expected `cosmwasm_std::StdError` because of this [INFO] [stdout] ... [INFO] [stdout] 74 | let pair_info: PairInfo = query_pair_info( [INFO] [stdout] | _______________________________- [INFO] [stdout] 75 | | &deps.querier, [INFO] [stdout] 76 | | astroport_factory_addr, [INFO] [stdout] 77 | | &[offer_asset_info.clone(), ask_asset_info], [INFO] [stdout] 78 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `cosmwasm_std::StdError` [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] `cosmwasm_std::StdError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | max_spread, [INFO] [stdout] | ^^^^^^^^^^ expected `cosmwasm_std::math::decimal::Decimal`, found `cosmwasm_std::Decimal` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Decimal` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | amount: offer_asset.amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Uint128`, found `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | amount: offer_asset.amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Uint128`, found `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/swapping.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | max_spread, [INFO] [stdout] | ^^^^^^^^^^ expected `cosmwasm_std::math::decimal::Decimal`, found `cosmwasm_std::Decimal` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `cosmwasm_std::Decimal` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testing/mars_mock_querier.rs:197:29 [INFO] [stdout] | [INFO] [stdout] 197 | amount: Uint128::zero(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `cosmwasm_std::math::uint128::Uint128`, found `Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testing/mars_mock_querier.rs:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | amount: Uint128::zero(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `cosmwasm_std::math::uint128::Uint128`, found `Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testing/mars_mock_querier.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | total_share: Uint128::zero(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `cosmwasm_std::math::uint128::Uint128`, found `Uint128` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cosmwasm_std` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the found type `Uint128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | ^^^^^^^^^^^^^^^^^^ this is the expected type `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] ::: src/protocol_rewards_collector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use astroport::asset::AssetInfo; [INFO] [stdout] | --------- one version of crate `cosmwasm_std` used here, as a dependency of crate `astroport` [INFO] [stdout] | [INFO] [stdout] ::: src/address_provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::Addr; [INFO] [stdout] | ------------ one version of crate `cosmwasm_std` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mars-core` (lib test) due to 24 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mars-core` (lib) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "51658e0dfa355e381f3108e49629ec4747969c9e3c2ef9ee4090412285135403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51658e0dfa355e381f3108e49629ec4747969c9e3c2ef9ee4090412285135403", kill_on_drop: false }` [INFO] [stdout] 51658e0dfa355e381f3108e49629ec4747969c9e3c2ef9ee4090412285135403