[INFO] fetching crate kujira-rs-testing 1.6.0... [INFO] checking kujira-rs-testing-1.6.0 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate kujira-rs-testing 1.6.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate kujira-rs-testing 1.6.0 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kujira-rs-testing 1.6.0 [INFO] finished tweaking crates.io crate kujira-rs-testing 1.6.0 [INFO] tweaked toml for crates.io crate kujira-rs-testing 1.6.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 102 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding base64 v0.20.0 (latest: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bech32 v0.9.1 (latest: v0.11.0) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding bnum v0.8.1 (latest: v0.11.0) [INFO] [stderr] Adding bnum v0.10.0 (latest: v0.11.0) [INFO] [stderr] Adding cosmwasm-crypto v1.5.2 (latest: v2.0.3) [INFO] [stderr] Adding cosmwasm-derive v1.5.5 (latest: v2.0.3) [INFO] [stderr] Adding cosmwasm-schema v1.5.5 (latest: v2.0.3) [INFO] [stderr] Adding cosmwasm-schema-derive v1.5.5 (latest: v2.0.3) [INFO] [stderr] Adding cosmwasm-std v1.5.2 (latest: v2.0.3) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (latest: v4.1.2) [INFO] [stderr] Adding cw-multi-test v0.18.1 (latest: v2.0.1) [INFO] [stderr] Adding cw-storage-plus v1.2.0 (latest: v2.0.0) [INFO] [stderr] Adding cw-utils v1.0.3 (latest: v2.0.0) [INFO] [stderr] Adding cw2 v1.1.2 (latest: v2.0.0) [INFO] [stderr] Adding cw20 v1.1.2 (latest: v2.0.0) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding ed25519-zebra v3.1.0 (latest: v4.0.3) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding serde-json-wasm v0.5.2 (latest: v1.0.1) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cw-utils v2.0.0 [INFO] [stderr] Downloaded cosmwasm-derive v2.0.3 [INFO] [stderr] Downloaded kujira v1.1.0 [INFO] [stderr] Downloaded cosmwasm-schema-derive v2.0.3 [INFO] [stderr] Downloaded kujira-bow v1.1.0 [INFO] [stderr] Downloaded kujira-ghost v1.1.0 [INFO] [stderr] Downloaded kujira-stable v1.1.0 [INFO] [stderr] Downloaded kujira-orca v1.1.0 [INFO] [stderr] Downloaded kujira-fin v1.1.0 [INFO] [stderr] Downloaded cosmwasm-crypto v1.5.2 [INFO] [stderr] Downloaded serde-json-wasm v1.0.1 [INFO] [stderr] Downloaded cw20 v2.0.0 [INFO] [stderr] Downloaded kujira-std v1.1.0 [INFO] [stderr] Downloaded cosmwasm-schema v2.0.3 [INFO] [stderr] Downloaded bnum v0.8.1 [INFO] [stderr] Downloaded cw-storage-plus v2.0.0 [INFO] [stderr] Downloaded cw-multi-test v0.18.1 [INFO] [stderr] Downloaded cosmwasm-std v1.5.2 [INFO] [stderr] Downloaded cosmwasm-crypto v2.0.3 [INFO] [stderr] Downloaded cosmwasm-std v2.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63239133ccd764010de40d7d9490c98357601c3b8f5ba063eb63b717e16cd82e [INFO] running `Command { std: "docker" "start" "-a" "63239133ccd764010de40d7d9490c98357601c3b8f5ba063eb63b717e16cd82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63239133ccd764010de40d7d9490c98357601c3b8f5ba063eb63b717e16cd82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63239133ccd764010de40d7d9490c98357601c3b8f5ba063eb63b717e16cd82e", kill_on_drop: false }` [INFO] [stdout] 63239133ccd764010de40d7d9490c98357601c3b8f5ba063eb63b717e16cd82e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8e1faae7c28c9ddaa572f02a8bd66b218be848a33ee88b19009df1abaee0719 [INFO] running `Command { std: "docker" "start" "-a" "c8e1faae7c28c9ddaa572f02a8bd66b218be848a33ee88b19009df1abaee0719", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking forward_ref v1.0.0 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking bnum v0.10.0 [INFO] [stderr] Checking bnum v0.8.1 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-derive v2.0.3 [INFO] [stderr] Compiling cosmwasm-schema-derive v2.0.3 [INFO] [stderr] Compiling cosmwasm-derive v1.5.5 [INFO] [stderr] Compiling cosmwasm-schema-derive v1.5.5 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking ed25519-zebra v3.1.0 [INFO] [stderr] Checking serde-json-wasm v1.0.1 [INFO] [stderr] Checking serde-json-wasm v0.5.2 [INFO] [stderr] Checking cosmwasm-crypto v2.0.3 [INFO] [stderr] Checking cosmwasm-crypto v1.5.2 [INFO] [stderr] Checking schemars v0.8.21 [INFO] [stderr] Checking cosmwasm-std v2.0.3 [INFO] [stderr] Checking cosmwasm-schema v2.0.3 [INFO] [stderr] Checking cosmwasm-std v1.5.2 [INFO] [stderr] Checking cosmwasm-schema v1.5.5 [INFO] [stderr] Checking cw-utils v2.0.0 [INFO] [stderr] Checking cw-storage-plus v2.0.0 [INFO] [stderr] Checking cw-storage-plus v1.2.0 [INFO] [stderr] Checking cw20 v2.0.0 [INFO] [stderr] Checking cw2 v1.1.2 [INFO] [stderr] Checking cw-utils v1.0.3 [INFO] [stderr] Checking kujira-std v1.1.0 [INFO] [stderr] Checking cw20 v1.1.2 [INFO] [stderr] Checking cw-multi-test v0.18.1 [INFO] [stderr] Checking kujira-fin v1.1.0 [INFO] [stderr] Checking kujira-orca v1.1.0 [INFO] [stderr] Checking kujira-stable v1.1.0 [INFO] [stderr] Checking kujira-ghost v1.1.0 [INFO] [stderr] Checking kujira-bow v1.1.0 [INFO] [stderr] Checking kujira v1.1.0 [INFO] [stderr] Checking kujira-rs-testing v1.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `KujiraQuery: CustomQuery` is not satisfied [INFO] [stdout] --> src/fin.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | deps: DepsMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `CustomQuery` is not implemented for `KujiraQuery` [INFO] [stdout] | [INFO] [stdout] = help: the trait `CustomQuery` is implemented for `cosmwasm_std::Empty` [INFO] [stdout] note: required by a bound in `DepsMut` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/deps.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DepsMut<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `DepsMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KujiraQuery: CustomQuery` is not satisfied [INFO] [stdout] --> src/fin.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | deps: DepsMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `CustomQuery` is not implemented for `KujiraQuery` [INFO] [stdout] | [INFO] [stdout] = help: the trait `CustomQuery` is implemented for `cosmwasm_std::Empty` [INFO] [stdout] note: required by a bound in `DepsMut` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/deps.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DepsMut<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `DepsMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KujiraQuery: CustomQuery` is not satisfied [INFO] [stdout] --> src/fin.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `CustomQuery` is not implemented for `KujiraQuery` [INFO] [stdout] | [INFO] [stdout] = help: the trait `CustomQuery` is implemented for `cosmwasm_std::Empty` [INFO] [stdout] note: required by a bound in `Deps` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/deps.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Deps<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KujiraQuery: CustomQuery` is not satisfied [INFO] [stdout] --> src/fin.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | deps: DepsMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `CustomQuery` is not implemented for `KujiraQuery` [INFO] [stdout] | [INFO] [stdout] = help: the trait `CustomQuery` is implemented for `cosmwasm_std::Empty` [INFO] [stdout] note: required by a bound in `DepsMut` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/deps.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DepsMut<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `DepsMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KujiraQuery: CustomQuery` is not satisfied [INFO] [stdout] --> src/fin.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | deps: DepsMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `CustomQuery` is not implemented for `KujiraQuery` [INFO] [stdout] | [INFO] [stdout] = help: the trait `CustomQuery` is implemented for `cosmwasm_std::Empty` [INFO] [stdout] note: required by a bound in `DepsMut` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/deps.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DepsMut<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `DepsMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KujiraQuery: CustomQuery` is not satisfied [INFO] [stdout] --> src/fin.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `CustomQuery` is not implemented for `KujiraQuery` [INFO] [stdout] | [INFO] [stdout] = help: the trait `CustomQuery` is implemented for `cosmwasm_std::Empty` [INFO] [stdout] note: required by a bound in `Deps` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/deps.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Deps<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KujiraQuery: CustomQuery` is not satisfied [INFO] [stdout] --> src/orca.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | deps: DepsMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `CustomQuery` is not implemented for `KujiraQuery` [INFO] [stdout] | [INFO] [stdout] = help: the trait `CustomQuery` is implemented for `cosmwasm_std::Empty` [INFO] [stdout] note: required by a bound in `DepsMut` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/deps.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DepsMut<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `DepsMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KujiraQuery: CustomQuery` is not satisfied [INFO] [stdout] --> src/orca.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | deps: DepsMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `CustomQuery` is not implemented for `KujiraQuery` [INFO] [stdout] | [INFO] [stdout] = help: the trait `CustomQuery` is implemented for `cosmwasm_std::Empty` [INFO] [stdout] note: required by a bound in `DepsMut` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/deps.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DepsMut<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `DepsMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KujiraQuery: CustomQuery` is not satisfied [INFO] [stdout] --> src/orca.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn query(deps: Deps, _env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `CustomQuery` is not implemented for `KujiraQuery` [INFO] [stdout] | [INFO] [stdout] = help: the trait `CustomQuery` is implemented for `cosmwasm_std::Empty` [INFO] [stdout] note: required by a bound in `Deps` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/deps.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Deps<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KujiraQuery: CustomQuery` is not satisfied [INFO] [stdout] --> src/orca.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | deps: DepsMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `CustomQuery` is not implemented for `KujiraQuery` [INFO] [stdout] | [INFO] [stdout] = help: the trait `CustomQuery` is implemented for `cosmwasm_std::Empty` [INFO] [stdout] note: required by a bound in `DepsMut` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/deps.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DepsMut<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `DepsMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KujiraQuery: CustomQuery` is not satisfied [INFO] [stdout] --> src/orca.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | deps: DepsMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `CustomQuery` is not implemented for `KujiraQuery` [INFO] [stdout] | [INFO] [stdout] = help: the trait `CustomQuery` is implemented for `cosmwasm_std::Empty` [INFO] [stdout] note: required by a bound in `DepsMut` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/deps.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DepsMut<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `DepsMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KujiraQuery: CustomQuery` is not satisfied [INFO] [stdout] --> src/orca.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn query(deps: Deps, _env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `CustomQuery` is not implemented for `KujiraQuery` [INFO] [stdout] | [INFO] [stdout] = help: the trait `CustomQuery` is implemented for `cosmwasm_std::Empty` [INFO] [stdout] note: required by a bound in `Deps` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/deps.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Deps<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fin.rs:75:56 [INFO] [stdout] | [INFO] [stdout] 75 | let price = belief_price.unwrap_or_else(|| Decimal256::from_ratio(1425u128, 100u128)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal256`, found a different `Decimal256` [INFO] [stdout] | [INFO] [stdout] = note: `Decimal256` and `Decimal256` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/math/decimal256.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/decimal256.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `denominator` found for struct `cosmwasm_std::math::decimal256::Decimal256` in the current scope [INFO] [stdout] --> src/fin.rs:79:50 [INFO] [stdout] | [INFO] [stdout] 79 | Decimal256::from_ratio(price.denominator(), price.numerator()), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Decimal256` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/fraction.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn denominator(&self) -> T; [INFO] [stdout] | ----------- the method is available for `cosmwasm_std::math::decimal256::Decimal256` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fraction` which provides `denominator` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cosmwasm_std::math::fraction::Fraction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `numerator` found for struct `cosmwasm_std::math::decimal256::Decimal256` in the current scope [INFO] [stdout] --> src/fin.rs:79:71 [INFO] [stdout] | [INFO] [stdout] 79 | Decimal256::from_ratio(price.denominator(), price.numerator()), [INFO] [stdout] | ^^^^^^^^^ method not found in `Decimal256` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/fraction.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | fn numerator(&self) -> T; [INFO] [stdout] | --------- the method is available for `cosmwasm_std::math::decimal256::Decimal256` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fraction` which provides `numerator` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cosmwasm_std::math::fraction::Fraction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/fin.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 77 | let (price, return_denom) = match coin.denom.as_str() { [INFO] [stdout] | ------------------------- `match` arms have incompatible types [INFO] [stdout] 78 | STABLE => ( [INFO] [stdout] | ___________________________- [INFO] [stdout] 79 | | Decimal256::from_ratio(price.denominator(), price.numerator()), [INFO] [stdout] 80 | | COLLATERAL, [INFO] [stdout] 81 | | ), [INFO] [stdout] | |_________________- this is found to be of type `(Decimal256, &str)` [INFO] [stdout] 82 | COLLATERAL => (price, STABLE), [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `Decimal256`, found a different `Decimal256` [INFO] [stdout] | [INFO] [stdout] = note: `Decimal256` and `Decimal256` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/decimal256.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/math/decimal256.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [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/fin.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | msg: cb.0, [INFO] [stdout] | ^^^^ expected `cosmwasm_std::Binary`, found `cosmwasm_std::binary::Binary` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::binary::Binary` and `cosmwasm_std::Binary` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::binary::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/binary.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Binary(#[schemars(with = "String")] Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/binary.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Binary(#[schemars(with = "String")] pub Vec); [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/fin.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | price, [INFO] [stdout] | ^^^^^ expected `Decimal256`, found a different `Decimal256` [INFO] [stdout] | [INFO] [stdout] = note: `Decimal256` and `Decimal256` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/decimal256.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/math/decimal256.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [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/fin.rs:122:72 [INFO] [stdout] | [INFO] [stdout] 122 | .add_message(cb.to_message(&sender, NewOrderData { idx }, vec![])?) [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.5.2/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) 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-2.0.3/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) 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/fin.rs:122:48 [INFO] [stdout] | [INFO] [stdout] 122 | .add_message(cb.to_message(&sender, NewOrderData { idx }, vec![])?) [INFO] [stdout] | ---------- ^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [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-1.5.2/src/addresses.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | 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-2.0.3/src/addresses.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/kujira-std-1.1.0/src/callback.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn to_message( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `cosmwasm_std::StdError` [INFO] [stdout] --> src/fin.rs:122:86 [INFO] [stdout] | [INFO] [stdout] 65 | ) -> StdResult> { [INFO] [stdout] | ------------------------------ expected `cosmwasm_std::StdError` because of this [INFO] [stdout] ... [INFO] [stdout] 122 | .add_message(cb.to_message(&sender, NewOrderData { idx }, vec![])?) [INFO] [stdout] | -------------------------------------------------^ the trait `From` is not implemented for `cosmwasm_std::StdError`, which is required by `Result, cosmwasm_std::StdError>: 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] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `Result, cosmwasm_std::StdError>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CosmosMsg<_>: From>` is not satisfied [INFO] [stdout] --> src/fin.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | .add_message(cb.to_message(&sender, NewOrderData { idx }, vec![])?) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From>` is not implemented for `CosmosMsg<_>`, which is required by `cosmwasm_std::results::cosmos_msg::CosmosMsg<_>: 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] as From> [INFO] [stdout] as From> [INFO] [stdout] as From> [INFO] [stdout] as From> [INFO] [stdout] as From> [INFO] [stdout] as From> [INFO] [stdout] = note: required for `cosmwasm_std::results::cosmos_msg::CosmosMsg<_>` to implement `Into>` [INFO] [stdout] note: required by a bound in `Response::::add_message` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/results/response.rs:114:44 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn add_message(mut self, msg: impl Into>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Response::::add_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fin.rs:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | msg: cb.0, [INFO] [stdout] | ^^^^ expected `cosmwasm_std::Binary`, found `cosmwasm_std::binary::Binary` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::binary::Binary` and `cosmwasm_std::Binary` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::binary::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/binary.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Binary(#[schemars(with = "String")] Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/binary.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Binary(#[schemars(with = "String")] pub Vec); [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: TryFrom` is not satisfied [INFO] [stdout] --> src/fin.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | .map(|a| Uint128::try_from(a).unwrap()) [INFO] [stdout] | ^^^^^^^ the trait `From` is not implemented for `Uint128`, which is required by `Uint128: TryFrom` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `cosmwasm_std::math::uint256::Uint256` to implement `Into` [INFO] [stdout] = note: required for `Uint128` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fin.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | msg: cb.0, [INFO] [stdout] | ^^^^ expected `cosmwasm_std::Binary`, found `cosmwasm_std::binary::Binary` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::binary::Binary` and `cosmwasm_std::Binary` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::binary::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/binary.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Binary(#[schemars(with = "String")] Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/binary.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Binary(#[schemars(with = "String")] pub Vec); [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 `KujiraQuery: CustomQuery` is not satisfied [INFO] [stdout] --> src/fin.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | deps, [INFO] [stdout] | ^^^^ the trait `CustomQuery` is not implemented for `KujiraQuery` [INFO] [stdout] | [INFO] [stdout] = help: the trait `CustomQuery` is implemented for `cosmwasm_std::Empty` [INFO] [stdout] note: required by a bound in `DepsMut` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/deps.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DepsMut<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `DepsMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: From` is not satisfied [INFO] [stdout] --> src/fin.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | .map(|a| Uint128::try_from(a).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `Uint128`, which is required by `Uint128: TryFrom` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `cosmwasm_std::math::uint256::Uint256` to implement `Into` [INFO] [stdout] = note: required for `Uint128` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fin.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | owner: order.owner, [INFO] [stdout] | ^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | [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-1.5.2/src/addresses.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | 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-2.0.3/src/addresses.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | 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]: mismatched types [INFO] [stdout] --> src/fin.rs:249:30 [INFO] [stdout] | [INFO] [stdout] 249 | quote_price: order.price, [INFO] [stdout] | ^^^^^^^^^^^ expected `Decimal256`, found a different `Decimal256` [INFO] [stdout] | [INFO] [stdout] = note: `Decimal256` and `Decimal256` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/math/decimal256.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/decimal256.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [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/fin.rs:250:30 [INFO] [stdout] | [INFO] [stdout] 250 | offer_denom: Denom::Native(order.denom), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cw20::denom::Denom`, found `cw20::Denom` [INFO] [stdout] | [INFO] [stdout] = note: `cw20::Denom` and `cw20::denom::Denom` have similar names, but are actually distinct types [INFO] [stdout] note: `cw20::Denom` is defined in crate `cw20` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cw20-1.1.2/src/denom.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Denom { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `cw20::denom::Denom` is defined in crate `cw20` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cw20-2.0.0/src/denom.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Denom { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cw20` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cosmwasm_std::math::uint256::Uint256: From` is not satisfied [INFO] [stdout] --> src/fin.rs:251:44 [INFO] [stdout] | [INFO] [stdout] 251 | offer_amount: order.amount.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `cosmwasm_std::math::uint256::Uint256`, which is required by `Uint128: Into<_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `Uint128` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fin.rs:253:29 [INFO] [stdout] | [INFO] [stdout] 253 | created_at: env.block.time, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `cosmwasm_std::timestamp::Timestamp`, found `Timestamp` [INFO] [stdout] | [INFO] [stdout] = note: `Timestamp` and `cosmwasm_std::timestamp::Timestamp` have similar names, but are actually distinct types [INFO] [stdout] note: `Timestamp` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/timestamp.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Timestamp(Uint64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::timestamp::Timestamp` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/timestamp.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Timestamp(Uint64); [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/fin.rs:75:56 [INFO] [stdout] | [INFO] [stdout] 75 | let price = belief_price.unwrap_or_else(|| Decimal256::from_ratio(1425u128, 100u128)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal256`, found a different `Decimal256` [INFO] [stdout] | [INFO] [stdout] = note: `Decimal256` and `Decimal256` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/math/decimal256.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/decimal256.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [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::math::uint256::Uint256: From` is not satisfied [INFO] [stdout] --> src/fin.rs:252:45 [INFO] [stdout] | [INFO] [stdout] 252 | filled_amount: order.filled.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `cosmwasm_std::math::uint256::Uint256`, which is required by `Uint128: Into<_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `Uint128` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cosmwasm_std::math::uint256::Uint256: From` is not satisfied [INFO] [stdout] --> src/fin.rs:254:53 [INFO] [stdout] | [INFO] [stdout] 254 | original_offer_amount: order.amount.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `cosmwasm_std::math::uint256::Uint256`, which is required by `Uint128: Into<_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `Uint128` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `denominator` found for struct `cosmwasm_std::math::decimal256::Decimal256` in the current scope [INFO] [stdout] --> src/fin.rs:79:50 [INFO] [stdout] | [INFO] [stdout] 79 | Decimal256::from_ratio(price.denominator(), price.numerator()), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Decimal256` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/fraction.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn denominator(&self) -> T; [INFO] [stdout] | ----------- the method is available for `cosmwasm_std::math::decimal256::Decimal256` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fraction` which provides `denominator` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cosmwasm_std::math::fraction::Fraction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_api` exists for struct `AppBuilder, StakeKeeper, ..., ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/mock.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 39 | / BasicAppBuilder::new_custom() [INFO] [stdout] 40 | | .with_custom(custom) [INFO] [stdout] 41 | | .with_api(MockApiBech32::new("kujira")) [INFO] [stdout] | | -^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cw-multi-test-0.18.1/src/wasm.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct WasmKeeper { [INFO] [stdout] | ------------------------------------ doesn't satisfy `_: Wasm` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/kujira-std-1.1.0/src/query.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum KujiraQuery { [INFO] [stdout] | -------------------- doesn't satisfy `KujiraQuery: CustomQuery` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/kujira_rs_testing-e6909d0337e8d4ef.long-type-1908724214471095877.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KujiraQuery: CustomQuery` [INFO] [stdout] which is required by `WasmKeeper: cw_multi_test::Wasm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add-assign `cosmwasm_std::math::uint128::Uint128` to `Uint128` [INFO] [stdout] --> src/mock.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | supply += amount; [INFO] [stdout] | ^^ no implementation for `Uint128 += cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] = help: the trait `AddAssign` is not implemented for `Uint128` [INFO] [stdout] = help: the following other types implement trait `AddAssign`: [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `numerator` found for struct `cosmwasm_std::math::decimal256::Decimal256` in the current scope [INFO] [stdout] --> src/fin.rs:79:71 [INFO] [stdout] | [INFO] [stdout] 79 | Decimal256::from_ratio(price.denominator(), price.numerator()), [INFO] [stdout] | ^^^^^^^^^ method not found in `Decimal256` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/fraction.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | fn numerator(&self) -> T; [INFO] [stdout] | --------- the method is available for `cosmwasm_std::math::decimal256::Decimal256` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fraction` which provides `numerator` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cosmwasm_std::math::fraction::Fraction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/fin.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 77 | let (price, return_denom) = match coin.denom.as_str() { [INFO] [stdout] | ------------------------- `match` arms have incompatible types [INFO] [stdout] 78 | STABLE => ( [INFO] [stdout] | ___________________________- [INFO] [stdout] 79 | | Decimal256::from_ratio(price.denominator(), price.numerator()), [INFO] [stdout] 80 | | COLLATERAL, [INFO] [stdout] 81 | | ), [INFO] [stdout] | |_________________- this is found to be of type `(Decimal256, &str)` [INFO] [stdout] 82 | COLLATERAL => (price, STABLE), [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `Decimal256`, found a different `Decimal256` [INFO] [stdout] | [INFO] [stdout] = note: `Decimal256` and `Decimal256` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/decimal256.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/math/decimal256.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [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/mock.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | ... amount: denom.coins(&amount), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `Coin`, found `cosmwasm_std::coin::Coin` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::coin::Coin` and `Coin` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::coin::Coin` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/coin.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Coin { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Coin` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/coin.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Coin { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract-assign `cosmwasm_std::math::uint128::Uint128` from `Uint128` [INFO] [stdout] --> src/mock.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | supply -= amount; [INFO] [stdout] | ^^ no implementation for `Uint128 -= cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SubAssign` is not implemented for `Uint128` [INFO] [stdout] = help: the following other types implement trait `SubAssign`: [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mock.rs:155:37 [INFO] [stdout] | [INFO] [stdout] 155 | ... amount: denom.coins(&amount), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `Coin`, found `cosmwasm_std::coin::Coin` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::coin::Coin` and `Coin` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::coin::Coin` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/coin.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Coin { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Coin` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/coin.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Coin { [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/fin.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | msg: cb.0, [INFO] [stdout] | ^^^^ expected `cosmwasm_std::Binary`, found `cosmwasm_std::binary::Binary` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::binary::Binary` and `cosmwasm_std::Binary` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::binary::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/binary.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Binary(#[schemars(with = "String")] Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/binary.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Binary(#[schemars(with = "String")] pub Vec); [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/fin.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | price, [INFO] [stdout] | ^^^^^ expected `Decimal256`, found a different `Decimal256` [INFO] [stdout] | [INFO] [stdout] = note: `Decimal256` and `Decimal256` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/decimal256.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/math/decimal256.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [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/mock.rs:172:67 [INFO] [stdout] | [INFO] [stdout] 172 | DENOM_ADMINS.save(storage, denom.to_string(), &address)?; [INFO] [stdout] | ---- ^^^^^^^^ expected `Addr`, found `cosmwasm_std::addresses::Addr` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::addresses::Addr` and `Addr` have similar names, but are actually distinct types [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-2.0.3/src/addresses.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/addresses.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cw-storage-plus-1.2.0/src/map.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn save(&self, store: &mut dyn Storage, k: K, data: &T) -> StdResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mock.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | rate: *self.oracle_prices.get(&denom).unwrap_or(&Decimal::zero()), [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-1.5.2/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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-2.0.3/src/math/decimal.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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[E0308]: mismatched types [INFO] [stdout] --> src/fin.rs:122:72 [INFO] [stdout] | [INFO] [stdout] 122 | .add_message(cb.to_message(&sender, NewOrderData { idx }, vec![])?) [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.5.2/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) 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-2.0.3/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) 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]: `?` operator has incompatible types [INFO] [stdout] --> src/mock.rs:237:28 [INFO] [stdout] | [INFO] [stdout] 237 | admin: DENOM_ADMINS.load(storage, subdenom.to_string())?, [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-1.5.2/src/addresses.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | 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-2.0.3/src/addresses.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | 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]: mismatched types [INFO] [stdout] --> src/orca.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | LIQUIDATION_FEE.save(deps.storage, &msg.liquidation_fee)?; [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method 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-2.0.3/src/math/decimal.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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.5.2/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cw-storage-plus-1.2.0/src/item.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn save(&self, store: &mut dyn Storage, data: &T) -> StdResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/orca.rs:46:64 [INFO] [stdout] | [INFO] [stdout] 46 | let collateral_amount = amount(&COLLATERAL.into(), info.funds)?; [INFO] [stdout] | ------ ^^^^^^^^^^ expected `cosmwasm_std::coin::Coin`, found `Coin` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Coin` and `cosmwasm_std::coin::Coin` have similar names, but are actually distinct types [INFO] [stdout] note: `Coin` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/coin.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Coin { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::coin::Coin` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/coin.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Coin { [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/kujira-std-1.1.0/src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn amount(denom: &Denom, funds: Vec) -> StdResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `cosmwasm_std::StdError` [INFO] [stdout] --> src/orca.rs:46:75 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> StdResult> { [INFO] [stdout] | ------------------------------ expected `cosmwasm_std::StdError` because of this [INFO] [stdout] ... [INFO] [stdout] 46 | let collateral_amount = amount(&COLLATERAL.into(), info.funds)?; [INFO] [stdout] | --------------------------------------^ the trait `From` is not implemented for `cosmwasm_std::StdError`, which is required by `Result, cosmwasm_std::StdError>: 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] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `Result, cosmwasm_std::StdError>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fin.rs:122:48 [INFO] [stdout] | [INFO] [stdout] 122 | .add_message(cb.to_message(&sender, NewOrderData { idx }, vec![])?) [INFO] [stdout] | ---------- ^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [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-1.5.2/src/addresses.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | 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-2.0.3/src/addresses.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/kujira-std-1.1.0/src/callback.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn to_message( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] --> src/orca.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | let repay_amount = collateral_amount * exchange_rate * net_premium; [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * cosmwasm_std::math::decimal::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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::vec::Vec: From>` is not satisfied [INFO] [stdout] --> src/orca.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 67 | Some(cb) => msgs.push(cb.to_message( [INFO] [stdout] | ---------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 70 | coins(repay_amount.u128(), repay_denom.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From>` is not implemented for `std::vec::Vec`, which is required by `std::vec::Vec: Into>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is implemented for `std::vec::Vec` [INFO] [stdout] = help: for that trait implementation, expected `cosmwasm_std::coins::Coins`, found `std::vec::Vec` [INFO] [stdout] = note: required for `std::vec::Vec` to implement `Into>` [INFO] [stdout] note: required by a bound in `CallbackData::to_message` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/kujira-std-1.1.0/src/callback.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn to_message( [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 28 | funds: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `CallbackData::to_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `cosmwasm_std::StdError` [INFO] [stdout] --> src/fin.rs:122:86 [INFO] [stdout] | [INFO] [stdout] 65 | ) -> StdResult> { [INFO] [stdout] | ------------------------------ expected `cosmwasm_std::StdError` because of this [INFO] [stdout] ... [INFO] [stdout] 122 | .add_message(cb.to_message(&sender, NewOrderData { idx }, vec![])?) [INFO] [stdout] | -------------------------------------------------^ the trait `From` is not implemented for `cosmwasm_std::StdError`, which is required by `Result, cosmwasm_std::StdError>: 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] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `Result, cosmwasm_std::StdError>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CosmosMsg<_>: From>` is not satisfied [INFO] [stdout] --> src/fin.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | .add_message(cb.to_message(&sender, NewOrderData { idx }, vec![])?) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From>` is not implemented for `CosmosMsg<_>`, which is required by `cosmwasm_std::results::cosmos_msg::CosmosMsg<_>: 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] as From> [INFO] [stdout] as From> [INFO] [stdout] as From> [INFO] [stdout] as From> [INFO] [stdout] as From> [INFO] [stdout] as From> [INFO] [stdout] = note: required for `cosmwasm_std::results::cosmos_msg::CosmosMsg<_>` to implement `Into>` [INFO] [stdout] note: required by a bound in `Response::::add_message` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/results/response.rs:114:44 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn add_message(mut self, msg: impl Into>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Response::::add_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fin.rs:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | msg: cb.0, [INFO] [stdout] | ^^^^ expected `cosmwasm_std::Binary`, found `cosmwasm_std::binary::Binary` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::binary::Binary` and `cosmwasm_std::Binary` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::binary::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/binary.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Binary(#[schemars(with = "String")] Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/binary.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Binary(#[schemars(with = "String")] pub Vec); [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/orca.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 67 | Some(cb) => msgs.push(cb.to_message( [INFO] [stdout] | ---------- arguments to this method are incorrect [INFO] [stdout] 68 | &sender, [INFO] [stdout] | ^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | [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-1.5.2/src/addresses.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | 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-2.0.3/src/addresses.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/kujira-std-1.1.0/src/callback.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn to_message( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `cosmwasm_std::StdError` [INFO] [stdout] --> src/orca.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> StdResult> { [INFO] [stdout] | ------------------------------ expected `cosmwasm_std::StdError` because of this [INFO] [stdout] ... [INFO] [stdout] 67 | Some(cb) => msgs.push(cb.to_message( [INFO] [stdout] | __________________________________________- [INFO] [stdout] 68 | | &sender, [INFO] [stdout] 69 | | Empty {}, [INFO] [stdout] 70 | | coins(repay_amount.u128(), repay_denom.to_string()), [INFO] [stdout] 71 | | )?), [INFO] [stdout] | | -^ the trait `From` is not implemented for `cosmwasm_std::StdError`, which is required by `Result, cosmwasm_std::StdError>: 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] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `Result, cosmwasm_std::StdError>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: TryFrom` is not satisfied [INFO] [stdout] --> src/fin.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | .map(|a| Uint128::try_from(a).unwrap()) [INFO] [stdout] | ^^^^^^^ the trait `From` is not implemented for `Uint128`, which is required by `Uint128: TryFrom` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `cosmwasm_std::math::uint256::Uint256` to implement `Into` [INFO] [stdout] = note: required for `Uint128` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/orca.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | Some(cb) => msgs.push(cb.to_message( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 68 | | &sender, [INFO] [stdout] 69 | | Empty {}, [INFO] [stdout] 70 | | coins(repay_amount.u128(), repay_denom.to_string()), [INFO] [stdout] 71 | | )?), [INFO] [stdout] | |__________________^ expected `CosmosMsg<_>`, found a different `CosmosMsg<_>` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `cosmwasm_std::results::cosmos_msg::CosmosMsg<_>` to `CosmosMsg<_>` [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-2.0.3/src/results/cosmos_msg.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | 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-1.5.2/src/results/cosmos_msg.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum CosmosMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] help: try wrapping the expression in `cosmwasm_std::CosmosMsg::Custom` [INFO] [stdout] | [INFO] [stdout] 67 ~ Some(cb) => msgs.push(cosmwasm_std::CosmosMsg::Custom(cb.to_message( [INFO] [stdout] 68 | &sender, [INFO] [stdout] 69 | Empty {}, [INFO] [stdout] 70 | coins(repay_amount.u128(), repay_denom.to_string()), [INFO] [stdout] 71 ~ )?)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] --> src/orca.rs:96:50 [INFO] [stdout] | [INFO] [stdout] 96 | let repay_amount = collateral_amount * exchange_rate * net_premium; [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * cosmwasm_std::math::decimal::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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fin.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | msg: cb.0, [INFO] [stdout] | ^^^^ expected `cosmwasm_std::Binary`, found `cosmwasm_std::binary::Binary` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::binary::Binary` and `cosmwasm_std::Binary` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::binary::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/binary.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Binary(#[schemars(with = "String")] Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/binary.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Binary(#[schemars(with = "String")] pub Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `Decimal` by `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] --> src/orca.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | ) * repay_amount; [INFO] [stdout] | ^ no implementation for `Decimal * cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul` is not implemented for `Decimal` [INFO] [stdout] = help: the following other types implement trait `std::ops::Mul`: [INFO] [stdout] <&'a Decimal as std::ops::Mul> [INFO] [stdout] <&Decimal as std::ops::Mul<&Decimal>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KujiraQuery: CustomQuery` is not satisfied [INFO] [stdout] --> src/fin.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | deps, [INFO] [stdout] | ^^^^ the trait `CustomQuery` is not implemented for `KujiraQuery` [INFO] [stdout] | [INFO] [stdout] = help: the trait `CustomQuery` is implemented for `cosmwasm_std::Empty` [INFO] [stdout] note: required by a bound in `DepsMut` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/deps.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DepsMut<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `DepsMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `denominator` found for struct `cosmwasm_std::math::decimal::Decimal` in the current scope [INFO] [stdout] --> src/orca.rs:121:50 [INFO] [stdout] | [INFO] [stdout] 121 | collateral_value * exchange_rate.denominator(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Decimal` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/fraction.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn denominator(&self) -> T; [INFO] [stdout] | ----------- the method is available for `cosmwasm_std::math::decimal::Decimal` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fraction` which provides `denominator` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cosmwasm_std::math::fraction::Fraction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: From` is not satisfied [INFO] [stdout] --> src/fin.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | .map(|a| Uint128::try_from(a).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `Uint128`, which is required by `Uint128: TryFrom` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `cosmwasm_std::math::uint256::Uint256` to implement `Into` [INFO] [stdout] = note: required for `Uint128` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fin.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | owner: order.owner, [INFO] [stdout] | ^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | [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-1.5.2/src/addresses.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | 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-2.0.3/src/addresses.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | 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[E0599]: no method named `numerator` found for struct `cosmwasm_std::math::decimal::Decimal` in the current scope [INFO] [stdout] --> src/orca.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | exchange_rate.numerator(), [INFO] [stdout] | ^^^^^^^^^ method not found in `Decimal` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/fraction.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | fn numerator(&self) -> T; [INFO] [stdout] | --------- the method is available for `cosmwasm_std::math::decimal::Decimal` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fraction` which provides `numerator` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cosmwasm_std::math::fraction::Fraction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fin.rs:249:30 [INFO] [stdout] | [INFO] [stdout] 249 | quote_price: order.price, [INFO] [stdout] | ^^^^^^^^^^^ expected `Decimal256`, found a different `Decimal256` [INFO] [stdout] | [INFO] [stdout] = note: `Decimal256` and `Decimal256` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/math/decimal256.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal256` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/decimal256.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Decimal256(#[schemars(with = "String")] Uint256); [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/orca.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 120 | let collateral_amount = Decimal::from_ratio( [INFO] [stdout] | _____________________________________- [INFO] [stdout] 121 | | collateral_value * exchange_rate.denominator(), [INFO] [stdout] 122 | | exchange_rate.numerator(), [INFO] [stdout] 123 | | ) * Uint128::from(1u128) [INFO] [stdout] 124 | | + Uint128::from(1u128); [INFO] [stdout] | |______________________________________- here the type of `collateral_amount` is inferred to be `Uint128` [INFO] [stdout] ... [INFO] [stdout] 127 | collateral_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.5.2/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) 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-2.0.3/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) 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/fin.rs:250:30 [INFO] [stdout] | [INFO] [stdout] 250 | offer_denom: Denom::Native(order.denom), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cw20::denom::Denom`, found `cw20::Denom` [INFO] [stdout] | [INFO] [stdout] = note: `cw20::Denom` and `cw20::denom::Denom` have similar names, but are actually distinct types [INFO] [stdout] note: `cw20::Denom` is defined in crate `cw20` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cw20-1.1.2/src/denom.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Denom { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `cw20::denom::Denom` is defined in crate `cw20` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cw20-2.0.0/src/denom.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Denom { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cw20` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `Decimal` [INFO] [stdout] --> src/orca.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | repay_amount * Decimal::from_ratio(100u128, 95u128) + Uint128::from(1u128); [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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: From` is not satisfied [INFO] [stdout] --> src/orca.rs:141:51 [INFO] [stdout] | [INFO] [stdout] 141 | let current_ltv = Decimal::from_ratio(debt_amount, collateral_amount * exchange_rate); [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] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [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-1.5.2/src/math/decimal.rs:175:39 [INFO] [stdout] | [INFO] [stdout] 175 | 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::math::decimal::Decimal` [INFO] [stdout] --> src/orca.rs:141:82 [INFO] [stdout] | [INFO] [stdout] 141 | let current_ltv = Decimal::from_ratio(debt_amount, collateral_amount * exchange_rate); [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * cosmwasm_std::math::decimal::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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cosmwasm_std::math::uint256::Uint256: From` is not satisfied [INFO] [stdout] --> src/fin.rs:251:44 [INFO] [stdout] | [INFO] [stdout] 251 | offer_amount: order.amount.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `cosmwasm_std::math::uint256::Uint256`, which is required by `Uint128: Into<_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `Uint128` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fin.rs:253:29 [INFO] [stdout] | [INFO] [stdout] 253 | created_at: env.block.time, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `cosmwasm_std::timestamp::Timestamp`, found `Timestamp` [INFO] [stdout] | [INFO] [stdout] = note: `Timestamp` and `cosmwasm_std::timestamp::Timestamp` have similar names, but are actually distinct types [INFO] [stdout] note: `Timestamp` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/timestamp.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Timestamp(Uint64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::timestamp::Timestamp` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/timestamp.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Timestamp(Uint64); [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/orca.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | if current_ltv <= target_ltv { [INFO] [stdout] | ----------- ^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `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-2.0.3/src/math/decimal.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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.5.2/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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[E0277]: the trait bound `cosmwasm_std::math::uint256::Uint256: From` is not satisfied [INFO] [stdout] --> src/fin.rs:252:45 [INFO] [stdout] | [INFO] [stdout] 252 | filled_amount: order.filled.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `cosmwasm_std::math::uint256::Uint256`, which is required by `Uint128: Into<_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `Uint128` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/orca.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 148 | if target_ltv >= Decimal::one() { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `cosmwasm_std::math::decimal::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-1.5.2/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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-2.0.3/src/math/decimal.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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[E0277]: cannot multiply `Decimal` by `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] --> src/orca.rs:155:70 [INFO] [stdout] | [INFO] [stdout] 155 | let premium_price = Decimal::from_ratio(95u128, 100u128) * exchange_rate; [INFO] [stdout] | ^ no implementation for `Decimal * cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul` is not implemented for `Decimal` [INFO] [stdout] = help: the following other types implement trait `std::ops::Mul`: [INFO] [stdout] <&'a Decimal as std::ops::Mul> [INFO] [stdout] <&Decimal as std::ops::Mul<&Decimal>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cosmwasm_std::math::uint256::Uint256: From` is not satisfied [INFO] [stdout] --> src/fin.rs:254:53 [INFO] [stdout] | [INFO] [stdout] 254 | original_offer_amount: order.amount.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `cosmwasm_std::math::uint256::Uint256`, which is required by `Uint128: Into<_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `Uint128` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] --> src/orca.rs:157:61 [INFO] [stdout] | [INFO] [stdout] 157 | let cur_collateral_value = remaining_collateral * premium_price; [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * cosmwasm_std::math::decimal::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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `inv` found for struct `cosmwasm_std::math::decimal::Decimal` in the current scope [INFO] [stdout] --> src/orca.rs:189:67 [INFO] [stdout] | [INFO] [stdout] 189 | let liquidate_amount = numerator.mul_ceil(denominator.inv().unwrap()); [INFO] [stdout] | ^^^ method not found in `Decimal` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/fraction.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn inv(&self) -> Option; [INFO] [stdout] | --- the method is available for `cosmwasm_std::math::decimal::Decimal` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fraction` which provides `inv` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cosmwasm_std::math::fraction::Fraction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] --> src/orca.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 191 | remaining_debt -= liquidate_amount * premium_price; [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * cosmwasm_std::math::decimal::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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: From` is not satisfied [INFO] [stdout] --> src/orca.rs:195:47 [INFO] [stdout] | [INFO] [stdout] 195 | let new_ltv = Decimal::from_ratio(remaining_debt, remaining_collateral * exchange_rate); [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] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [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-1.5.2/src/math/decimal.rs:175:39 [INFO] [stdout] | [INFO] [stdout] 175 | 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::math::decimal::Decimal` [INFO] [stdout] --> src/orca.rs:195:84 [INFO] [stdout] | [INFO] [stdout] 195 | let new_ltv = Decimal::from_ratio(remaining_debt, remaining_collateral * exchange_rate); [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * cosmwasm_std::math::decimal::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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_api` exists for struct `AppBuilder, StakeKeeper, ..., ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/mock.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 39 | / BasicAppBuilder::new_custom() [INFO] [stdout] 40 | | .with_custom(custom) [INFO] [stdout] 41 | | .with_api(MockApiBech32::new("kujira")) [INFO] [stdout] | | -^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cw-multi-test-0.18.1/src/wasm.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct WasmKeeper { [INFO] [stdout] | ------------------------------------ doesn't satisfy `_: Wasm` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/kujira-std-1.1.0/src/query.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum KujiraQuery { [INFO] [stdout] | -------------------- doesn't satisfy `KujiraQuery: CustomQuery` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/kujira_rs_testing-2ba8dce0262f09a2.long-type-18193550845599880130.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KujiraQuery: CustomQuery` [INFO] [stdout] which is required by `WasmKeeper: cw_multi_test::Wasm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/orca.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | if new_ltv.abs_diff(target_ltv) > Decimal::percent(2) { [INFO] [stdout] | -------- ^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method 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-2.0.3/src/math/decimal.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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.5.2/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/math/decimal.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 384 | pub const fn abs_diff(self, other: Self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `Decimal` [INFO] [stdout] --> src/orca.rs:202:43 [INFO] [stdout] | [INFO] [stdout] 202 | let fee_amount = repay_amount * LIQUIDATION_FEE.load(deps.storage)?; [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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add-assign `cosmwasm_std::math::uint128::Uint128` to `Uint128` [INFO] [stdout] --> src/mock.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | supply += amount; [INFO] [stdout] | ^^ no implementation for `Uint128 += cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] = help: the trait `AddAssign` is not implemented for `Uint128` [INFO] [stdout] = help: the following other types implement trait `AddAssign`: [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mock.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | ... amount: denom.coins(&amount), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `Coin`, found `cosmwasm_std::coin::Coin` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::coin::Coin` and `Coin` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::coin::Coin` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/coin.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Coin { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Coin` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/coin.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Coin { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract-assign `cosmwasm_std::math::uint128::Uint128` from `Uint128` [INFO] [stdout] --> src/mock.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | supply -= amount; [INFO] [stdout] | ^^ no implementation for `Uint128 -= cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SubAssign` is not implemented for `Uint128` [INFO] [stdout] = help: the following other types implement trait `SubAssign`: [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mock.rs:155:37 [INFO] [stdout] | [INFO] [stdout] 155 | ... amount: denom.coins(&amount), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `Coin`, found `cosmwasm_std::coin::Coin` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::coin::Coin` and `Coin` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::coin::Coin` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/coin.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Coin { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Coin` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/coin.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Coin { [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/util.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | data: to_json_binary(&data).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::binary::Binary`, found `cosmwasm_std::Binary` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::Binary` and `cosmwasm_std::binary::Binary` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/binary.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Binary(#[schemars(with = "String")] pub Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::binary::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/binary.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Binary(#[schemars(with = "String")] Vec); [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/mock.rs:172:67 [INFO] [stdout] | [INFO] [stdout] 172 | DENOM_ADMINS.save(storage, denom.to_string(), &address)?; [INFO] [stdout] | ---- ^^^^^^^^ expected `Addr`, found `cosmwasm_std::addresses::Addr` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::addresses::Addr` and `Addr` have similar names, but are actually distinct types [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-2.0.3/src/addresses.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/addresses.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cw-storage-plus-1.2.0/src/map.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn save(&self, store: &mut dyn Storage, k: K, data: &T) -> StdResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mock.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | rate: *self.oracle_prices.get(&denom).unwrap_or(&Decimal::zero()), [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-1.5.2/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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-2.0.3/src/math/decimal.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/mock.rs:237:28 [INFO] [stdout] | [INFO] [stdout] 237 | admin: DENOM_ADMINS.load(storage, subdenom.to_string())?, [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-1.5.2/src/addresses.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | 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-2.0.3/src/addresses.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | 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]: mismatched types [INFO] [stdout] --> src/orca.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | LIQUIDATION_FEE.save(deps.storage, &msg.liquidation_fee)?; [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method 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-2.0.3/src/math/decimal.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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.5.2/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cw-storage-plus-1.2.0/src/item.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn save(&self, store: &mut dyn Storage, data: &T) -> StdResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/orca.rs:46:64 [INFO] [stdout] | [INFO] [stdout] 46 | let collateral_amount = amount(&COLLATERAL.into(), info.funds)?; [INFO] [stdout] | ------ ^^^^^^^^^^ expected `cosmwasm_std::coin::Coin`, found `Coin` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Coin` and `cosmwasm_std::coin::Coin` have similar names, but are actually distinct types [INFO] [stdout] note: `Coin` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/coin.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Coin { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::coin::Coin` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/coin.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Coin { [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/kujira-std-1.1.0/src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn amount(denom: &Denom, funds: Vec) -> StdResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `cosmwasm_std::StdError` [INFO] [stdout] --> src/orca.rs:46:75 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> StdResult> { [INFO] [stdout] | ------------------------------ expected `cosmwasm_std::StdError` because of this [INFO] [stdout] ... [INFO] [stdout] 46 | let collateral_amount = amount(&COLLATERAL.into(), info.funds)?; [INFO] [stdout] | --------------------------------------^ the trait `From` is not implemented for `cosmwasm_std::StdError`, which is required by `Result, cosmwasm_std::StdError>: 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] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `Result, cosmwasm_std::StdError>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] --> src/orca.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | let repay_amount = collateral_amount * exchange_rate * net_premium; [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * cosmwasm_std::math::decimal::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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::vec::Vec: From>` is not satisfied [INFO] [stdout] --> src/orca.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 67 | Some(cb) => msgs.push(cb.to_message( [INFO] [stdout] | ---------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 70 | coins(repay_amount.u128(), repay_denom.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From>` is not implemented for `std::vec::Vec`, which is required by `std::vec::Vec: Into>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is implemented for `std::vec::Vec` [INFO] [stdout] = help: for that trait implementation, expected `cosmwasm_std::coins::Coins`, found `std::vec::Vec` [INFO] [stdout] = note: required for `std::vec::Vec` to implement `Into>` [INFO] [stdout] note: required by a bound in `CallbackData::to_message` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/kujira-std-1.1.0/src/callback.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn to_message( [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 28 | funds: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `CallbackData::to_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/orca.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 67 | Some(cb) => msgs.push(cb.to_message( [INFO] [stdout] | ---------- arguments to this method are incorrect [INFO] [stdout] 68 | &sender, [INFO] [stdout] | ^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | [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-1.5.2/src/addresses.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | 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-2.0.3/src/addresses.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/kujira-std-1.1.0/src/callback.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn to_message( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `cosmwasm_std::StdError` [INFO] [stdout] --> src/orca.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> StdResult> { [INFO] [stdout] | ------------------------------ expected `cosmwasm_std::StdError` because of this [INFO] [stdout] ... [INFO] [stdout] 67 | Some(cb) => msgs.push(cb.to_message( [INFO] [stdout] | __________________________________________- [INFO] [stdout] 68 | | &sender, [INFO] [stdout] 69 | | Empty {}, [INFO] [stdout] 70 | | coins(repay_amount.u128(), repay_denom.to_string()), [INFO] [stdout] 71 | | )?), [INFO] [stdout] | | -^ the trait `From` is not implemented for `cosmwasm_std::StdError`, which is required by `Result, cosmwasm_std::StdError>: 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] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `Result, cosmwasm_std::StdError>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/orca.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | Some(cb) => msgs.push(cb.to_message( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 68 | | &sender, [INFO] [stdout] 69 | | Empty {}, [INFO] [stdout] 70 | | coins(repay_amount.u128(), repay_denom.to_string()), [INFO] [stdout] 71 | | )?), [INFO] [stdout] | |__________________^ expected `CosmosMsg<_>`, found a different `CosmosMsg<_>` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `cosmwasm_std::results::cosmos_msg::CosmosMsg<_>` to `CosmosMsg<_>` [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-2.0.3/src/results/cosmos_msg.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | 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-1.5.2/src/results/cosmos_msg.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum CosmosMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] help: try wrapping the expression in `cosmwasm_std::CosmosMsg::Custom` [INFO] [stdout] | [INFO] [stdout] 67 ~ Some(cb) => msgs.push(cosmwasm_std::CosmosMsg::Custom(cb.to_message( [INFO] [stdout] 68 | &sender, [INFO] [stdout] 69 | Empty {}, [INFO] [stdout] 70 | coins(repay_amount.u128(), repay_denom.to_string()), [INFO] [stdout] 71 ~ )?)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] --> src/orca.rs:96:50 [INFO] [stdout] | [INFO] [stdout] 96 | let repay_amount = collateral_amount * exchange_rate * net_premium; [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * cosmwasm_std::math::decimal::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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `Decimal` by `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] --> src/orca.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | ) * repay_amount; [INFO] [stdout] | ^ no implementation for `Decimal * cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul` is not implemented for `Decimal` [INFO] [stdout] = help: the following other types implement trait `std::ops::Mul`: [INFO] [stdout] <&'a Decimal as std::ops::Mul> [INFO] [stdout] <&Decimal as std::ops::Mul<&Decimal>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `denominator` found for struct `cosmwasm_std::math::decimal::Decimal` in the current scope [INFO] [stdout] --> src/orca.rs:121:50 [INFO] [stdout] | [INFO] [stdout] 121 | collateral_value * exchange_rate.denominator(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Decimal` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/fraction.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn denominator(&self) -> T; [INFO] [stdout] | ----------- the method is available for `cosmwasm_std::math::decimal::Decimal` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fraction` which provides `denominator` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cosmwasm_std::math::fraction::Fraction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `numerator` found for struct `cosmwasm_std::math::decimal::Decimal` in the current scope [INFO] [stdout] --> src/orca.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | exchange_rate.numerator(), [INFO] [stdout] | ^^^^^^^^^ method not found in `Decimal` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/fraction.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | fn numerator(&self) -> T; [INFO] [stdout] | --------- the method is available for `cosmwasm_std::math::decimal::Decimal` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fraction` which provides `numerator` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cosmwasm_std::math::fraction::Fraction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/orca.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 120 | let collateral_amount = Decimal::from_ratio( [INFO] [stdout] | _____________________________________- [INFO] [stdout] 121 | | collateral_value * exchange_rate.denominator(), [INFO] [stdout] 122 | | exchange_rate.numerator(), [INFO] [stdout] 123 | | ) * Uint128::from(1u128) [INFO] [stdout] 124 | | + Uint128::from(1u128); [INFO] [stdout] | |______________________________________- here the type of `collateral_amount` is inferred to be `Uint128` [INFO] [stdout] ... [INFO] [stdout] 127 | collateral_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.5.2/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) 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-2.0.3/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) 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]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `Decimal` [INFO] [stdout] --> src/orca.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | repay_amount * Decimal::from_ratio(100u128, 95u128) + Uint128::from(1u128); [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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: From` is not satisfied [INFO] [stdout] --> src/orca.rs:141:51 [INFO] [stdout] | [INFO] [stdout] 141 | let current_ltv = Decimal::from_ratio(debt_amount, collateral_amount * exchange_rate); [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] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [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-1.5.2/src/math/decimal.rs:175:39 [INFO] [stdout] | [INFO] [stdout] 175 | 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::math::decimal::Decimal` [INFO] [stdout] --> src/orca.rs:141:82 [INFO] [stdout] | [INFO] [stdout] 141 | let current_ltv = Decimal::from_ratio(debt_amount, collateral_amount * exchange_rate); [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * cosmwasm_std::math::decimal::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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/orca.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | if current_ltv <= target_ltv { [INFO] [stdout] | ----------- ^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `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-2.0.3/src/math/decimal.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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.5.2/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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[E0308]: mismatched types [INFO] [stdout] --> src/orca.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 148 | if target_ltv >= Decimal::one() { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `cosmwasm_std::math::decimal::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-1.5.2/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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-2.0.3/src/math/decimal.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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[E0277]: cannot multiply `Decimal` by `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] --> src/orca.rs:155:70 [INFO] [stdout] | [INFO] [stdout] 155 | let premium_price = Decimal::from_ratio(95u128, 100u128) * exchange_rate; [INFO] [stdout] | ^ no implementation for `Decimal * cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul` is not implemented for `Decimal` [INFO] [stdout] = help: the following other types implement trait `std::ops::Mul`: [INFO] [stdout] <&'a Decimal as std::ops::Mul> [INFO] [stdout] <&Decimal as std::ops::Mul<&Decimal>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] --> src/orca.rs:157:61 [INFO] [stdout] | [INFO] [stdout] 157 | let cur_collateral_value = remaining_collateral * premium_price; [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * cosmwasm_std::math::decimal::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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `inv` found for struct `cosmwasm_std::math::decimal::Decimal` in the current scope [INFO] [stdout] --> src/orca.rs:189:67 [INFO] [stdout] | [INFO] [stdout] 189 | let liquidate_amount = numerator.mul_ceil(denominator.inv().unwrap()); [INFO] [stdout] | ^^^ method not found in `Decimal` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/math/fraction.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn inv(&self) -> Option; [INFO] [stdout] | --- the method is available for `cosmwasm_std::math::decimal::Decimal` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Fraction` which provides `inv` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cosmwasm_std::math::fraction::Fraction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `cosmwasm_std::math::decimal::Decimal` [INFO] [stdout] --> src/orca.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 191 | remaining_debt -= liquidate_amount * premium_price; [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * cosmwasm_std::math::decimal::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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Uint128: From` is not satisfied [INFO] [stdout] --> src/orca.rs:195:47 [INFO] [stdout] | [INFO] [stdout] 195 | let new_ltv = Decimal::from_ratio(remaining_debt, remaining_collateral * exchange_rate); [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] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [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-1.5.2/src/math/decimal.rs:175:39 [INFO] [stdout] | [INFO] [stdout] 175 | 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::math::decimal::Decimal` [INFO] [stdout] --> src/orca.rs:195:84 [INFO] [stdout] | [INFO] [stdout] 195 | let new_ltv = Decimal::from_ratio(remaining_debt, remaining_collateral * exchange_rate); [INFO] [stdout] | ^ no implementation for `cosmwasm_std::math::uint128::Uint128 * cosmwasm_std::math::decimal::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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 63 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/orca.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | if new_ltv.abs_diff(target_ltv) > Decimal::percent(2) { [INFO] [stdout] | -------- ^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method 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-2.0.3/src/math/decimal.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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.5.2/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/math/decimal.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 384 | pub const fn abs_diff(self, other: Self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `cosmwasm_std::math::uint128::Uint128` by `Decimal` [INFO] [stdout] --> src/orca.rs:202:43 [INFO] [stdout] | [INFO] [stdout] 202 | let fee_amount = repay_amount * LIQUIDATION_FEE.load(deps.storage)?; [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 as std::ops::Mul> [INFO] [stdout] <&cosmwasm_std::math::uint128::Uint128 as std::ops::Mul<&cosmwasm_std::math::uint128::Uint128>> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kujira-rs-testing` (lib) due to 64 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | data: to_json_binary(&data).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::binary::Binary`, found `cosmwasm_std::Binary` [INFO] [stdout] | [INFO] [stdout] = note: `cosmwasm_std::Binary` and `cosmwasm_std::binary::Binary` have similar names, but are actually distinct types [INFO] [stdout] note: `cosmwasm_std::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.2/src/binary.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Binary(#[schemars(with = "String")] pub Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::binary::Binary` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-2.0.3/src/binary.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Binary(#[schemars(with = "String")] Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 63 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kujira-rs-testing` (lib test) due to 64 previous errors [INFO] running `Command { std: "docker" "inspect" "c8e1faae7c28c9ddaa572f02a8bd66b218be848a33ee88b19009df1abaee0719", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8e1faae7c28c9ddaa572f02a8bd66b218be848a33ee88b19009df1abaee0719", kill_on_drop: false }` [INFO] [stdout] c8e1faae7c28c9ddaa572f02a8bd66b218be848a33ee88b19009df1abaee0719 [INFO] checking kujira-rs-testing-1.6.0 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate kujira-rs-testing 1.6.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate kujira-rs-testing 1.6.0 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kujira-rs-testing 1.6.0 [INFO] finished tweaking crates.io crate kujira-rs-testing 1.6.0 [INFO] tweaked toml for crates.io crate kujira-rs-testing 1.6.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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 (latest: v0.8.11) [INFO] [stderr] Adding base64 v0.20.0 (latest: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bech32 v0.9.1 (latest: v0.11.0) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding bnum v0.8.1 (latest: v0.11.0) [INFO] [stderr] Adding bnum v0.10.0 (latest: v0.11.0) [INFO] [stderr] Adding cosmwasm-crypto v1.5.2 (latest: v2.0.3) [INFO] [stderr] Adding cosmwasm-derive v1.5.5 (latest: v2.0.3) [INFO] [stderr] Adding cosmwasm-schema v1.5.5 (latest: v2.0.3) [INFO] [stderr] Adding cosmwasm-schema-derive v1.5.5 (latest: v2.0.3) [INFO] [stderr] Adding cosmwasm-std v1.5.2 (latest: v2.0.3) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (latest: v4.1.2) [INFO] [stderr] Adding cw-multi-test v0.18.1 (latest: v2.0.1) [INFO] [stderr] Adding cw-storage-plus v1.2.0 (latest: v2.0.0) [INFO] [stderr] Adding cw-utils v1.0.3 (latest: v2.0.0) [INFO] [stderr] Adding cw2 v1.1.2 (latest: v2.0.0) [INFO] [stderr] Adding cw20 v1.1.2 (latest: v2.0.0) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding ed25519-zebra v3.1.0 (latest: v4.0.3) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding serde-json-wasm v0.5.2 (latest: v1.0.1) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b10c609c7511bc7fb492bab654d854fc316577d402bb8da9eff01ca926f52dc [INFO] running `Command { std: "docker" "start" "-a" "1b10c609c7511bc7fb492bab654d854fc316577d402bb8da9eff01ca926f52dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b10c609c7511bc7fb492bab654d854fc316577d402bb8da9eff01ca926f52dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b10c609c7511bc7fb492bab654d854fc316577d402bb8da9eff01ca926f52dc", kill_on_drop: false }` [INFO] [stdout] 1b10c609c7511bc7fb492bab654d854fc316577d402bb8da9eff01ca926f52dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbf8c24e74ce6fe35f344da51952a6822a2b5c8c9837a84daf8bce79ea6b42cc [INFO] running `Command { std: "docker" "start" "-a" "fbf8c24e74ce6fe35f344da51952a6822a2b5c8c9837a84daf8bce79ea6b42cc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "fbf8c24e74ce6fe35f344da51952a6822a2b5c8c9837a84daf8bce79ea6b42cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbf8c24e74ce6fe35f344da51952a6822a2b5c8c9837a84daf8bce79ea6b42cc", kill_on_drop: false }` [INFO] [stdout] fbf8c24e74ce6fe35f344da51952a6822a2b5c8c9837a84daf8bce79ea6b42cc