[INFO] cloning repository https://github.com/enigmampc/SecretStablePools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enigmampc/SecretStablePools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2FSecretStablePools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2FSecretStablePools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3fa06cd068b2264642f85d01e4dba7c093b3c29 [INFO] checking enigmampc/SecretStablePools against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2FSecretStablePools" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enigmampc/SecretStablePools on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/enigmampc/SecretStablePools [INFO] finished tweaking git repo https://github.com/enigmampc/SecretStablePools [INFO] tweaked toml for git repo https://github.com/enigmampc/SecretStablePools written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/enigmampc/SecretStablePools already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-10/source/contracts/lp_token/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 560e2031fdfec5e111564134938c84598d88fd8a0111dd1590111662e77849bf [INFO] running `Command { std: "docker" "start" "-a" "560e2031fdfec5e111564134938c84598d88fd8a0111dd1590111662e77849bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "560e2031fdfec5e111564134938c84598d88fd8a0111dd1590111662e77849bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "560e2031fdfec5e111564134938c84598d88fd8a0111dd1590111662e77849bf", kill_on_drop: false }` [INFO] [stdout] 560e2031fdfec5e111564134938c84598d88fd8a0111dd1590111662e77849bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f5d8b985e09076db2bebdc3ec74706eb450f239511c6a18870cf7552ab88bdb [INFO] running `Command { std: "docker" "start" "-a" "2f5d8b985e09076db2bebdc3ec74706eb450f239511c6a18870cf7552ab88bdb", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/lp_token/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: profile package spec `secretswap` in profile `release` did not match any packages [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cbindgen v0.13.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking primitive-types v0.9.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking sgx_urts v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde-json-wasm v0.2.3 [INFO] [stderr] Checking bincode2 v2.0.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking schemars v0.7.6 [INFO] [stderr] Checking cosmwasm-std v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.4-debug-print#004c6bca) [INFO] [stderr] Checking cosmwasm-std v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [INFO] [stderr] Checking cosmwasm-schema v0.9.4 [INFO] [stderr] Checking secret-toolkit-utils v0.1.0 (https://github.com/enigmampc/secret-toolkit?rev=v0.1.1-debug-print#41a2eb31) [INFO] [stderr] Checking cosmwasm-storage v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.4-debug-print#004c6bca) [INFO] [stderr] Checking secret-toolkit-serialization v0.1.0 (https://github.com/enigmampc/secret-toolkit?rev=v0.1.1-debug-print#41a2eb31) [INFO] [stderr] Checking secret-toolkit-crypto v0.1.0 (https://github.com/enigmampc/secret-toolkit?rev=v0.1.1-debug-print#41a2eb31) [INFO] [stderr] Checking secret-toolkit-snip20 v0.1.0 (https://github.com/enigmampc/secret-toolkit?rev=v0.1.1-debug-print#41a2eb31) [INFO] [stderr] Checking secret-toolkit-snip721 v0.1.0 (https://github.com/enigmampc/secret-toolkit?rev=v0.1.1-debug-print#41a2eb31) [INFO] [stderr] Checking secret-toolkit-storage v0.1.0 (https://github.com/enigmampc/secret-toolkit?rev=v0.1.1-debug-print#41a2eb31) [INFO] [stderr] Checking secret-toolkit v0.1.0 (https://github.com/enigmampc/secret-toolkit?rev=v0.1.1-debug-print#41a2eb31) [INFO] [stderr] Checking lp-token v0.1.0 (/opt/rustwide/workdir/contracts/lp_token) [INFO] [stderr] Compiling enclave-ffi-types v0.1.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [INFO] [stderr] Checking secretswap-stablepools v0.0.1 (/opt/rustwide/workdir/contracts/stable_pool) [INFO] [stdout] error[E0412]: cannot find type `PairInfoRaw` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:316:20 [INFO] [stdout] | [INFO] [stdout] 316 | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_pair_info` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:316:34 [INFO] [stdout] | [INFO] [stdout] 316 | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `query_pair_info` [INFO] [stdout] ... [INFO] [stdout] 459 | / pub fn query_pair_info( [INFO] [stdout] 460 | | deps: &Extern, [INFO] [stdout] 461 | | ) -> StdResult { [INFO] [stdout] 462 | | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] 463 | | pair_info.to_normal(&deps) [INFO] [stdout] 464 | | } [INFO] [stdout] | |_- similarly named function `query_pair_info` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `return_asset` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:425:19 [INFO] [stdout] | [INFO] [stdout] 425 | messages.push(return_asset.clone().into_msg( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `to` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | to.clone().unwrap_or(sender.clone()), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sender` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:428:30 [INFO] [stdout] | [INFO] [stdout] 428 | to.clone().unwrap_or(sender.clone()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offer_asset` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:435:32 [INFO] [stdout] | [INFO] [stdout] 435 | log("offer_asset", offer_asset.info.to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ask_pool` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:436:30 [INFO] [stdout] | [INFO] [stdout] 436 | log("ask_asset", ask_pool.info.to_string()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offer_amount` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:437:33 [INFO] [stdout] | [INFO] [stdout] 437 | log("offer_amount", offer_amount.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `return_amount` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:438:34 [INFO] [stdout] | [INFO] [stdout] 438 | log("return_amount", return_amount.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `spread_amount` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:439:34 [INFO] [stdout] | [INFO] [stdout] 439 | log("spread_amount", spread_amount.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `src_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `commission_amount` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:440:38 [INFO] [stdout] | [INFO] [stdout] 440 | log("commission_amount", commission_amount.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PairInfo` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:461:16 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn query_pair_info( [INFO] [stdout] | - help: you might be missing a type parameter: `, PairInfo` [INFO] [stdout] 460 | deps: &Extern, [INFO] [stdout] 461 | ) -> StdResult { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PairInfoRaw` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:462:20 [INFO] [stdout] | [INFO] [stdout] 462 | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_pair_info` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:462:34 [INFO] [stdout] | [INFO] [stdout] 462 | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolResponse` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:468:16 [INFO] [stdout] | [INFO] [stdout] 468 | ) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/004c6bc/cosmwasm/packages/std/src/init_handle.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / pub struct InitResponse [INFO] [stdout] 156 | | where [INFO] [stdout] 157 | | T: Clone + fmt::Debug + PartialEq + JsonSchema, [INFO] [stdout] 158 | | { [INFO] [stdout] 159 | | pub messages: Vec>, [INFO] [stdout] 160 | | pub log: Vec, [INFO] [stdout] 161 | | } [INFO] [stdout] | |_- similarly named struct `InitResponse` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 468 | ) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 466 | pub fn query_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PairInfoRaw` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:469:20 [INFO] [stdout] | [INFO] [stdout] 469 | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_pair_info` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:469:34 [INFO] [stdout] | [INFO] [stdout] 459 | / pub fn query_pair_info( [INFO] [stdout] 460 | | deps: &Extern, [INFO] [stdout] 461 | | ) -> StdResult { [INFO] [stdout] 462 | | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] 463 | | pair_info.to_normal(&deps) [INFO] [stdout] 464 | | } [INFO] [stdout] | |_- similarly named function `query_pair_info` defined here [INFO] [stdout] ... [INFO] [stdout] 469 | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `query_pair_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PoolResponse` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:478:16 [INFO] [stdout] | [INFO] [stdout] 478 | let resp = PoolResponse { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `InitResponse` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/004c6bc/cosmwasm/packages/std/src/init_handle.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / pub struct InitResponse [INFO] [stdout] 156 | | where [INFO] [stdout] 157 | | T: Clone + fmt::Debug + PartialEq + JsonSchema, [INFO] [stdout] 158 | | { [INFO] [stdout] 159 | | pub messages: Vec>, [INFO] [stdout] 160 | | pub log: Vec, [INFO] [stdout] 161 | | } [INFO] [stdout] | |_- similarly named struct `InitResponse` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Mul`, `Sub` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | ops::{Add, Mul, Sub}, [INFO] [stdout] | ^^^ ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decimal`, `debug_print` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | debug_print, from_binary, log, to_binary, Api, Binary, CosmosMsg, Decimal, Env, Extern, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decimal_multiplication`, `decimal_subtraction`, `reverse_decimal` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | math::{decimal_multiplication, decimal_subtraction, reverse_decimal}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_token_balance` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::querier::{query_token_balance, query_token_total_supply}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PairInfoRaw` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:316:20 [INFO] [stdout] | [INFO] [stdout] 316 | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_pair_info` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:316:34 [INFO] [stdout] | [INFO] [stdout] 316 | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `query_pair_info` [INFO] [stdout] ... [INFO] [stdout] 459 | / pub fn query_pair_info( [INFO] [stdout] 460 | | deps: &Extern, [INFO] [stdout] 461 | | ) -> StdResult { [INFO] [stdout] 462 | | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] 463 | | pair_info.to_normal(&deps) [INFO] [stdout] 464 | | } [INFO] [stdout] | |_- similarly named function `query_pair_info` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `return_asset` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:425:19 [INFO] [stdout] | [INFO] [stdout] 425 | messages.push(return_asset.clone().into_msg( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `to` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | to.clone().unwrap_or(sender.clone()), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sender` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:428:30 [INFO] [stdout] | [INFO] [stdout] 428 | to.clone().unwrap_or(sender.clone()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offer_asset` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:435:32 [INFO] [stdout] | [INFO] [stdout] 435 | log("offer_asset", offer_asset.info.to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ask_pool` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:436:30 [INFO] [stdout] | [INFO] [stdout] 436 | log("ask_asset", ask_pool.info.to_string()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offer_amount` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:437:33 [INFO] [stdout] | [INFO] [stdout] 437 | log("offer_amount", offer_amount.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `return_amount` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:438:34 [INFO] [stdout] | [INFO] [stdout] 438 | log("return_amount", return_amount.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `spread_amount` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:439:34 [INFO] [stdout] | [INFO] [stdout] 439 | log("spread_amount", spread_amount.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `src_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `commission_amount` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:440:38 [INFO] [stdout] | [INFO] [stdout] 440 | log("commission_amount", commission_amount.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PairInfo` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:461:16 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn query_pair_info( [INFO] [stdout] | - help: you might be missing a type parameter: `, PairInfo` [INFO] [stdout] 460 | deps: &Extern, [INFO] [stdout] 461 | ) -> StdResult { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PairInfoRaw` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:462:20 [INFO] [stdout] | [INFO] [stdout] 462 | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_pair_info` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:462:34 [INFO] [stdout] | [INFO] [stdout] 462 | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolResponse` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:468:16 [INFO] [stdout] | [INFO] [stdout] 468 | ) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/004c6bc/cosmwasm/packages/std/src/init_handle.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / pub struct InitResponse [INFO] [stdout] 156 | | where [INFO] [stdout] 157 | | T: Clone + fmt::Debug + PartialEq + JsonSchema, [INFO] [stdout] 158 | | { [INFO] [stdout] 159 | | pub messages: Vec>, [INFO] [stdout] 160 | | pub log: Vec, [INFO] [stdout] 161 | | } [INFO] [stdout] | |_- similarly named struct `InitResponse` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 468 | ) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 466 | pub fn query_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PairInfoRaw` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:469:20 [INFO] [stdout] | [INFO] [stdout] 469 | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_pair_info` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:469:34 [INFO] [stdout] | [INFO] [stdout] 459 | / pub fn query_pair_info( [INFO] [stdout] 460 | | deps: &Extern, [INFO] [stdout] 461 | | ) -> StdResult { [INFO] [stdout] 462 | | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] 463 | | pair_info.to_normal(&deps) [INFO] [stdout] 464 | | } [INFO] [stdout] | |_- similarly named function `query_pair_info` defined here [INFO] [stdout] ... [INFO] [stdout] 469 | let pair_info: PairInfoRaw = read_pair_info(&deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `query_pair_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PoolResponse` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:478:16 [INFO] [stdout] | [INFO] [stdout] 478 | let resp = PoolResponse { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `InitResponse` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/004c6bc/cosmwasm/packages/std/src/init_handle.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / pub struct InitResponse [INFO] [stdout] 156 | | where [INFO] [stdout] 157 | | T: Clone + fmt::Debug + PartialEq + JsonSchema, [INFO] [stdout] 158 | | { [INFO] [stdout] 159 | | pub messages: Vec>, [INFO] [stdout] 160 | | pub log: Vec, [INFO] [stdout] 161 | | } [INFO] [stdout] | |_- similarly named struct `InitResponse` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Mul`, `Sub` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | ops::{Add, Mul, Sub}, [INFO] [stdout] | ^^^ ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decimal`, `debug_print` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | debug_print, from_binary, log, to_binary, Api, Binary, CosmosMsg, Decimal, Env, Extern, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decimal_multiplication`, `decimal_subtraction`, `reverse_decimal` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | math::{decimal_multiplication, decimal_subtraction, reverse_decimal}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_token_balance` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::querier::{query_token_balance, query_token_total_supply}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `msg::Config` has no field named `round_down_pool_answer_to_nearest` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | round_down_pool_answer_to_nearest: msg.round_down_pool_answer_to_nearest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `msg::Config` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `admin`, `swap_fee_nom`, `swap_fee_denom`, `is_halted`, `lp_token_address`, `lp_token_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `msg::Config` has no field named `round_down_pool_answer_to_nearest` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | round_down_pool_answer_to_nearest: msg.round_down_pool_answer_to_nearest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `msg::Config` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `admin`, `swap_fee_nom`, `swap_fee_denom`, `is_halted`, `lp_token_address`, `lp_token_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `round_down_pool_answer_to_nearest` on type `msg::InitMsg` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:111:52 [INFO] [stdout] | [INFO] [stdout] 111 | round_down_pool_answer_to_nearest: msg.round_down_pool_answer_to_nearest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `assets`, `initial_tokens_viewing_key`, `lp_token_code_id`, `lp_token_code_hash`, `lp_token_prng_seed` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `round_down_pool_answer_to_nearest` on type `msg::InitMsg` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:111:52 [INFO] [stdout] | [INFO] [stdout] 111 | round_down_pool_answer_to_nearest: msg.round_down_pool_answer_to_nearest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `assets`, `initial_tokens_viewing_key`, `lp_token_code_id`, `lp_token_code_hash`, `lp_token_prng_seed` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `amount` on type `&Token` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:328:57 [INFO] [stdout] | [INFO] [stdout] 328 | let current_pool_amount = Some(U256::from(a.amount.u128())); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `address`, `code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `amount` on type `&Token` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:339:23 [INFO] [stdout] | [INFO] [stdout] 339 | a.amount, [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `address`, `code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `amount` on type `&Token` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:328:57 [INFO] [stdout] | [INFO] [stdout] 328 | let current_pool_amount = Some(U256::from(a.amount.u128())); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `address`, `code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Token` has no field named `info` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | info: a.info.clone(), [INFO] [stdout] | ^^^^ `Token` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `address`, `code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `amount` on type `&Token` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:339:23 [INFO] [stdout] | [INFO] [stdout] 339 | a.amount, [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `address`, `code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Token` has no field named `info` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | info: a.info.clone(), [INFO] [stdout] | ^^^^ `Token` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `address`, `code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `info` on type `&Token` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:346:25 [INFO] [stdout] | [INFO] [stdout] 346 | info: a.info.clone(), [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `address`, `code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Token` has no field named `amount` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | amount: Uint128(withdrawn_asset_amount.low_u128()), [INFO] [stdout] | ^^^^^^ `Token` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `address`, `code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `info` on type `&Token` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:346:25 [INFO] [stdout] | [INFO] [stdout] 346 | info: a.info.clone(), [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `address`, `code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Token` has no field named `amount` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | amount: Uint128(withdrawn_asset_amount.low_u128()), [INFO] [stdout] | ^^^^^^ `Token` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `address`, `code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_msg` found for struct `Token` in the current scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:356:38 [INFO] [stdout] | [INFO] [stdout] 356 | refund_assets[0].clone().into_msg( [INFO] [stdout] | ^^^^^^^^ method not found in `Token` [INFO] [stdout] | [INFO] [stdout] ::: contracts/stable_pool/src/msg.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Token { [INFO] [stdout] | ---------------- method `into_msg` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_msg` found for struct `Token` in the current scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:356:38 [INFO] [stdout] | [INFO] [stdout] 356 | refund_assets[0].clone().into_msg( [INFO] [stdout] | ^^^^^^^^ method not found in `Token` [INFO] [stdout] | [INFO] [stdout] ::: contracts/stable_pool/src/msg.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Token { [INFO] [stdout] | ---------------- method `into_msg` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_msg` found for struct `Token` in the current scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:361:38 [INFO] [stdout] | [INFO] [stdout] 361 | refund_assets[1].clone().into_msg( [INFO] [stdout] | ^^^^^^^^ method not found in `Token` [INFO] [stdout] | [INFO] [stdout] ::: contracts/stable_pool/src/msg.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Token { [INFO] [stdout] | ---------------- method `into_msg` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_msg` found for struct `Token` in the current scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:361:38 [INFO] [stdout] | [INFO] [stdout] 361 | refund_assets[1].clone().into_msg( [INFO] [stdout] | ^^^^^^^^ method not found in `Token` [INFO] [stdout] | [INFO] [stdout] ::: contracts/stable_pool/src/msg.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Token { [INFO] [stdout] | ---------------- method `into_msg` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Token` doesn't implement `std::fmt::Display` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:380:35 [INFO] [stdout] | [INFO] [stdout] 380 | format!("{}, {}", refund_assets[0].clone(), refund_assets[1].clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `Token` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Token` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Token` doesn't implement `std::fmt::Display` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:380:35 [INFO] [stdout] | [INFO] [stdout] 380 | format!("{}, {}", refund_assets[0].clone(), refund_assets[1].clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `Token` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Token` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Token` doesn't implement `std::fmt::Display` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:380:61 [INFO] [stdout] | [INFO] [stdout] 380 | format!("{}, {}", refund_assets[0].clone(), refund_assets[1].clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `Token` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Token` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Token` doesn't implement `std::fmt::Display` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:380:61 [INFO] [stdout] | [INFO] [stdout] 380 | format!("{}, {}", refund_assets[0].clone(), refund_assets[1].clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `Token` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Token` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 450 | todo!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 451 | / match msg { [INFO] [stdout] 452 | | QueryMsg::GetTokens {} => to_binary(&query_pair_info(&deps)?), [INFO] [stdout] 453 | | QueryMsg::GetPools {} => to_binary(&query_pool(&deps)?), [INFO] [stdout] 454 | | QueryMsg::GetConfig {} => to_binary(todo!()), [INFO] [stdout] 455 | | QueryMsg::GetMostNeededToken {} => to_binary(todo!()), [INFO] [stdout] 456 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:454:35 [INFO] [stdout] | [INFO] [stdout] 454 | QueryMsg::GetConfig {} => to_binary(todo!()), [INFO] [stdout] | ^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:455:44 [INFO] [stdout] | [INFO] [stdout] 455 | QueryMsg::GetMostNeededToken {} => to_binary(todo!()), [INFO] [stdout] | ^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 450 | todo!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 451 | / match msg { [INFO] [stdout] 452 | | QueryMsg::GetTokens {} => to_binary(&query_pair_info(&deps)?), [INFO] [stdout] 453 | | QueryMsg::GetPools {} => to_binary(&query_pool(&deps)?), [INFO] [stdout] 454 | | QueryMsg::GetConfig {} => to_binary(todo!()), [INFO] [stdout] 455 | | QueryMsg::GetMostNeededToken {} => to_binary(todo!()), [INFO] [stdout] 456 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:454:35 [INFO] [stdout] | [INFO] [stdout] 454 | QueryMsg::GetConfig {} => to_binary(todo!()), [INFO] [stdout] | ^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:455:44 [INFO] [stdout] | [INFO] [stdout] 455 | QueryMsg::GetMostNeededToken {} => to_binary(todo!()), [INFO] [stdout] | ^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0422, E0425, E0560, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `secretswap-stablepools` due to 30 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 29 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0422, E0425, E0560, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2f5d8b985e09076db2bebdc3ec74706eb450f239511c6a18870cf7552ab88bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f5d8b985e09076db2bebdc3ec74706eb450f239511c6a18870cf7552ab88bdb", kill_on_drop: false }` [INFO] [stdout] 2f5d8b985e09076db2bebdc3ec74706eb450f239511c6a18870cf7552ab88bdb