[INFO] cloning repository https://github.com/AdamantFi/SecretSwap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdamantFi/SecretSwap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamantFi%2FSecretSwap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamantFi%2FSecretSwap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb78bc3ba9bd50afda6fb9a0d0db733d4c8136cc [INFO] checking AdamantFi/SecretSwap/fb78bc3ba9bd50afda6fb9a0d0db733d4c8136cc against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamantFi%2FSecretSwap" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AdamantFi/SecretSwap on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AdamantFi/SecretSwap [INFO] finished tweaking git repo https://github.com/AdamantFi/SecretSwap [INFO] tweaked toml for git repo https://github.com/AdamantFi/SecretSwap written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AdamantFi/SecretSwap already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-4-tc1/source/contracts/dummy_swap_data_receiver/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4-tc1/source/contracts/secretswap_router/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] [stderr] Updating git repository `https://github.com/enigmampc/SecretNetwork` [INFO] [stderr] Updating git repository `https://github.com/enigmampc/secret-toolkit` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/apache/teaclave-sgx-sdk.git` [INFO] [stderr] Updating git submodule `https://github.com/WebAssembly/testsuite` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded schemars_derive v0.7.6 [INFO] [stderr] Downloaded primitive-types v0.9.0 [INFO] [stderr] Downloaded cosmwasm-schema v0.9.4 [INFO] [stderr] Downloaded bincode2 v2.0.1 [INFO] [stderr] Downloaded serde-json-wasm v0.2.3 [INFO] [stderr] Downloaded schemars v0.7.6 [INFO] [stderr] Downloaded cbindgen v0.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ba0b49ac7ba43b5adb493029bd7088b398e8816394f87ad88164a4b90822321 [INFO] running `Command { std: "docker" "start" "-a" "3ba0b49ac7ba43b5adb493029bd7088b398e8816394f87ad88164a4b90822321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ba0b49ac7ba43b5adb493029bd7088b398e8816394f87ad88164a4b90822321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ba0b49ac7ba43b5adb493029bd7088b398e8816394f87ad88164a4b90822321", kill_on_drop: false }` [INFO] [stdout] 3ba0b49ac7ba43b5adb493029bd7088b398e8816394f87ad88164a4b90822321 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 264c4aee8820d5711aca9df1160dba4895d9fc0992d5429333a4eb25be3aee9f [INFO] running `Command { std: "docker" "start" "-a" "264c4aee8820d5711aca9df1160dba4895d9fc0992d5429333a4eb25be3aee9f", 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/dummy_swap_data_receiver/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/secretswap_router/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling cbindgen v0.13.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking static_assertions v1.1.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 base64 v0.12.3 [INFO] [stderr] Checking uint v0.9.0 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking primitive-types v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking sgx_urts v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.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 block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Checking snafu v0.6.10 [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 cosmwasm-std v0.10.0 (https://github.com/enigmampc/SecretNetwork?rev=004c6bc#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?branch=debug-print#e960c649) [INFO] [stderr] Checking cosmwasm-storage v0.10.0 (https://github.com/enigmampc/SecretNetwork?rev=004c6bc#004c6bca) [INFO] [stderr] Checking secret-toolkit-serialization v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Checking secret-toolkit-crypto v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Checking secret-toolkit-snip20 v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Checking secret-toolkit-storage v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Checking secret-toolkit v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Checking secretswap v0.1.0 (/opt/rustwide/workdir/packages/secretswap) [INFO] [stdout] error[E0412]: cannot find type `Never` in this scope [INFO] [stdout] --> packages/secretswap/src/mock_querier.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | base: MockQuerier, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 36 | pub struct WasmMockQuerier { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TerraQueryWrapper` in this scope [INFO] [stdout] --> packages/secretswap/src/mock_querier.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 104 | let request: QueryRequest = match from_slice(bin_request) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 101 | impl Querier for WasmMockQuerier { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TerraQueryWrapper` in this scope [INFO] [stdout] --> packages/secretswap/src/mock_querier.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | base: MockQuerier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 210 | impl WasmMockQuerier { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decimal` [INFO] [stdout] --> packages/secretswap/src/mock_querier.rs:5:67 [INFO] [stdout] | [INFO] [stdout] 5 | from_binary, from_slice, to_binary, Api, CanonicalAddr, Coin, Decimal, Extern, HumanAddr, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WasmMsg` and `to_binary` [INFO] [stdout] --> packages/secretswap/src/testing.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{to_binary, BankMsg, Coin, CosmosMsg, Decimal, HumanAddr, Uint128, WasmMsg}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TokenInfoResponse: Serialize` is not satisfied [INFO] [stdout] --> packages/secretswap/src/mock_querier.rs:168:36 [INFO] [stdout] | [INFO] [stdout] 168 | &to_binary(&TokenInfoResponse { [INFO] [stdout] | __________________________---------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 169 | | token_info: TokenInfo { [INFO] [stdout] 170 | | name: "mAPPL".to_string(), [INFO] [stdout] 171 | | symbol: "mAPPL".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 174 | | }, [INFO] [stdout] 175 | | }) [INFO] [stdout] | |_________________________^ the trait `Serialize` is not implemented for `TokenInfoResponse` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 217 others [INFO] [stdout] note: required by a bound in `to_binary` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/004c6bc/cosmwasm/packages/std/src/serde.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_binary(data: &T) -> StdResult [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 27 | where [INFO] [stdout] 28 | T: Serialize + ?Sized, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_binary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_tax` found for struct `WasmMockQuerier` in the current scope [INFO] [stdout] --> packages/secretswap/src/testing.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | deps.querier.with_tax( [INFO] [stdout] | -------------^^^^^^^^ method not found in `WasmMockQuerier` [INFO] [stdout] | [INFO] [stdout] ::: packages/secretswap/src/mock_querier.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct WasmMockQuerier { [INFO] [stdout] | -------------------------- method `with_tax` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `asset0_volume`, `asset1_volume` and `factory` in initializer of `PairInfo` [INFO] [stdout] --> packages/secretswap/src/testing.rs:270:10 [INFO] [stdout] | [INFO] [stdout] 270 | &PairInfo { [INFO] [stdout] | ^^^^^^^^ missing `asset0_volume`, `asset1_volume` and `factory` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking dummy-swap-data-receiver v0.1.0 (/opt/rustwide/workdir/contracts/dummy_swap_data_receiver) [INFO] [stderr] Checking secretswap-pair v0.1.0 (/opt/rustwide/workdir/contracts/secretswap_pair) [INFO] [stderr] Checking secretswap-token v0.1.0 (/opt/rustwide/workdir/contracts/secretswap_token) [INFO] [stderr] Checking secretswap-factory v0.1.0 (/opt/rustwide/workdir/contracts/secretswap_factory) [INFO] [stderr] Checking secretswap-router v0.1.0 (/opt/rustwide/workdir/contracts/secretswap_router) [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0412, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `secretswap` (lib test) due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/dummy_swap_data_receiver/src/lib.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(all(target_arch = "wasm32", not(feature = "library")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces`, `debug-print`, and `default` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cw20` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cw20::{Cw20HandleMsg, Cw20ReceiveMsg, MinterResponse}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `cw20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/dummy_swap_data_receiver/src/lib.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(all(target_arch = "wasm32", not(feature = "library")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces`, `debug-print`, and `default` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/secretswap_router/src/lib.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(all(target_arch = "wasm32", not(feature = "library")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces`, `debug-print`, and `default` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug_print` [INFO] [stdout] --> contracts/secretswap_router/src/contract.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | debug_print, from_binary, to_binary, Api, BankMsg, Binary, Coin, CosmosMsg, Env, Extern, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TerraQueryWrapper` in this scope [INFO] [stdout] --> contracts/secretswap_pair/src/mock_querier.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | base: MockQuerier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 32 | pub struct WasmMockQuerier { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TerraQueryWrapper` in this scope [INFO] [stdout] --> contracts/secretswap_pair/src/mock_querier.rs:95:35 [INFO] [stdout] | [INFO] [stdout] 95 | let request: QueryRequest = match from_slice(bin_request) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 92 | impl Querier for WasmMockQuerier { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TerraQueryWrapper` in this scope [INFO] [stdout] --> contracts/secretswap_pair/src/mock_querier.rs:109:55 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn handle_query(&self, request: &QueryRequest) -> QuerierResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 108 | impl WasmMockQuerier { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TerraQueryWrapper` in this scope [INFO] [stdout] --> contracts/secretswap_pair/src/mock_querier.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | QueryRequest::Custom(TerraQueryWrapper { route, query_data }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TaxRateResponse` in this scope [INFO] [stdout] --> contracts/secretswap_pair/src/mock_querier.rs:115:39 [INFO] [stdout] | [INFO] [stdout] 115 | ... let res = TaxRateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TaxCapResponse` in this scope [INFO] [stdout] --> contracts/secretswap_pair/src/mock_querier.rs:127:39 [INFO] [stdout] | [INFO] [stdout] 127 | ... let res = TaxCapResponse { cap }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TerraQueryWrapper` in this scope [INFO] [stdout] --> contracts/secretswap_pair/src/mock_querier.rs:215:27 [INFO] [stdout] | [INFO] [stdout] 215 | base: MockQuerier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 213 | impl WasmMockQuerier { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/secretswap_pair/src/lib.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(target_arch = "wasm32", not(feature = "library")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces`, `debug-print`, and `default` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug_print` [INFO] [stdout] --> contracts/secretswap_pair/src/contract.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | debug_print, from_binary, log, to_binary, Api, Binary, CanonicalAddr, CosmosMsg, Decimal, Env, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/secretswap_router/src/lib.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(all(target_arch = "wasm32", not(feature = "library")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces`, `debug-print`, and `default` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug_print` [INFO] [stdout] --> contracts/secretswap_router/src/contract.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | debug_print, from_binary, to_binary, Api, BankMsg, Binary, Coin, CosmosMsg, Env, Extern, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/secretswap_pair/src/lib.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(target_arch = "wasm32", not(feature = "library")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces`, `debug-print`, and `default` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug_print` [INFO] [stdout] --> contracts/secretswap_pair/src/contract.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | debug_print, from_binary, log, to_binary, Api, Binary, CanonicalAddr, CosmosMsg, Decimal, Env, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `pair_code_hash`, `prng_seed` and `token_code_hash` in initializer of `InitMsg` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | let msg = InitMsg { [INFO] [stdout] | ^^^^^^^ missing `pair_code_hash`, `prng_seed` and `token_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `pair_code_hash`, `prng_seed` and `token_code_hash` in initializer of `InitMsg` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | let msg = InitMsg { [INFO] [stdout] | ^^^^^^^ missing `pair_code_hash`, `prng_seed` and `token_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `pair_code_hash`, `swap_data_endpoint`, `swap_fee` and 1 other field in initializer of `msg::HandleMsg` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | let msg = HandleMsg::UpdateConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ missing `pair_code_hash`, `swap_data_endpoint`, `swap_fee` and 1 other field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `pair_code_hash`, `swap_data_endpoint`, `swap_fee` and 1 other field in initializer of `msg::HandleMsg` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let msg = HandleMsg::UpdateConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ missing `pair_code_hash`, `swap_data_endpoint`, `swap_fee` and 1 other field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `pair_code_hash`, `swap_data_endpoint`, `swap_fee` and 1 other field in initializer of `msg::HandleMsg` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | let msg = HandleMsg::UpdateConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ missing `pair_code_hash`, `swap_data_endpoint`, `swap_fee` and 1 other field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `pair_code_hash`, `prng_seed` and `token_code_hash` in initializer of `InitMsg` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | let msg = InitMsg { [INFO] [stdout] | ^^^^^^^ missing `pair_code_hash`, `prng_seed` and `token_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `code_hash` in initializer of `InitHook` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:145:33 [INFO] [stdout] | [INFO] [stdout] 145 | init_hook: Some(InitHook { [INFO] [stdout] | ^^^^^^^^ missing `code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `prng_seed` and `token_code_hash` in initializer of `PairInitMsg` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | msg: to_binary(&PairInitMsg { [INFO] [stdout] | ^^^^^^^^^^^ missing `prng_seed` and `token_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `callback_code_hash` in initializer of `WasmMsg` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | vec![CosmosMsg::Wasm(WasmMsg::Instantiate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ missing `callback_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `pair_code_hash`, `prng_seed` and `token_code_hash` in initializer of `InitMsg` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | let msg = InitMsg { [INFO] [stdout] | ^^^^^^^ missing `pair_code_hash`, `prng_seed` and `token_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `asset0_volume`, `asset1_volume`, `factory` and 1 other field in initializer of `PairInfo` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | &PairInfo { [INFO] [stdout] | ^^^^^^^^ missing `asset0_volume`, `asset1_volume`, `factory` and 1 other field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `asset0_volume`, `asset1_volume`, `factory` and 1 other field in initializer of `PairInfo` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | PairInfo { [INFO] [stdout] | ^^^^^^^^ missing `asset0_volume`, `asset1_volume`, `factory` and 1 other field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `asset0_volume`, `asset1_volume`, `factory` and 1 other field in initializer of `PairInfo` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:273:10 [INFO] [stdout] | [INFO] [stdout] 273 | &PairInfo { [INFO] [stdout] | ^^^^^^^^ missing `asset0_volume`, `asset1_volume`, `factory` and 1 other field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `asset0_volume`, `asset1_volume`, `factory` and 1 other field in initializer of `PairInfo` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | PairInfo { [INFO] [stdout] | ^^^^^^^^ missing `asset0_volume`, `asset1_volume`, `factory` and 1 other field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `asset0_volume`, `asset1_volume`, `factory` and 1 other field in initializer of `PairInfo` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | PairInfo { [INFO] [stdout] | ^^^^^^^^ missing `asset0_volume`, `asset1_volume`, `factory` and 1 other field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `asset0_volume`, `asset1_volume`, `factory` and 1 other field in initializer of `PairInfo` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | vec![PairInfo { [INFO] [stdout] | ^^^^^^^^ missing `asset0_volume`, `asset1_volume`, `factory` and 1 other field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `asset0_volume`, `asset1_volume`, `factory` and 1 other field in initializer of `PairInfo` [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:342:14 [INFO] [stdout] | [INFO] [stdout] 342 | vec![PairInfo { [INFO] [stdout] | ^^^^^^^^ missing `asset0_volume`, `asset1_volume`, `factory` and 1 other field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_done` [INFO] [stdout] --> contracts/secretswap_router/src/contract.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | is_done, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `is_done: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0027]: pattern does not mention field `callback_code_hash` [INFO] [stdout] --> contracts/secretswap_factory/src/mock_querier.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | QueryRequest::Wasm(WasmQuery::Raw { contract_addr, key }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing field `callback_code_hash` [INFO] [stdout] | [INFO] [stdout] help: include the missing field in the pattern [INFO] [stdout] | [INFO] [stdout] 78 | QueryRequest::Wasm(WasmQuery::Raw { contract_addr, key, callback_code_hash }) => { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: if you don't care about this missing field, you can explicitly ignore it [INFO] [stdout] | [INFO] [stdout] 78 | QueryRequest::Wasm(WasmQuery::Raw { contract_addr, key, .. }) => { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `asset0_volume`, `asset1_volume`, `factory` and 1 other field in initializer of `PairInfoRaw` [INFO] [stdout] --> contracts/secretswap_factory/src/mock_querier.rs:96:37 [INFO] [stdout] | [INFO] [stdout] 96 | &to_binary(&PairInfoRaw { [INFO] [stdout] | ^^^^^^^^^^^ missing `asset0_volume`, `asset1_volume`, `factory` and 1 other field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `code_hash` in initializer of `InitHook` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | init_hook: Some(InitHook { [INFO] [stdout] | ^^^^^^^^ missing `code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `prng_seed` and `token_code_hash` in initializer of `PairInitMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let msg = PairInitMsg { [INFO] [stdout] | ^^^^^^^^^^^ missing `prng_seed` and `token_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | initial_balances: vec![], [INFO] [stdout] | ^^^^^^ expected `Option>`, found `Vec<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option>` [INFO] [stdout] found struct `std::vec::Vec<_>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: call `Into::into` on this expression to convert `std::vec::Vec<_>` into `std::option::Option>` [INFO] [stdout] | [INFO] [stdout] 52 | initial_balances: vec![].into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `TokenInitMsg` has no field named `mint` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | mint: Some(MinterResponse { [INFO] [stdout] | ^^^^ `TokenInitMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `admin`, `prng_seed`, `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `code_hash` in initializer of `InitHook` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | init_hook: Some(InitHook { [INFO] [stdout] | ^^^^^^^^ missing `code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `callback_code_hash` in initializer of `WasmMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | CosmosMsg::Wasm(WasmMsg::Instantiate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ missing `callback_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `callback_code_hash` in initializer of `WasmMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | CosmosMsg::Wasm(WasmMsg::Execute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `callback_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `prng_seed` and `token_code_hash` in initializer of `PairInitMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | let msg = PairInitMsg { [INFO] [stdout] | ^^^^^^^^^^^ missing `prng_seed` and `token_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | info: AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `callback_code_hash` in initializer of `WasmMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | &CosmosMsg::Wasm(WasmMsg::Execute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `callback_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `callback_code_hash` in initializer of `WasmMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 181 | &CosmosMsg::Wasm(WasmMsg::Execute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `callback_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:216:23 [INFO] [stdout] | [INFO] [stdout] 216 | info: AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `callback_code_hash` in initializer of `WasmMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:246:26 [INFO] [stdout] | [INFO] [stdout] 246 | &CosmosMsg::Wasm(WasmMsg::Execute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `callback_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `callback_code_hash` in initializer of `WasmMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | &CosmosMsg::Wasm(WasmMsg::Execute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `callback_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 274 | info: AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:329:23 [INFO] [stdout] | [INFO] [stdout] 329 | info: AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:373:23 [INFO] [stdout] | [INFO] [stdout] 373 | info: AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:417:23 [INFO] [stdout] | [INFO] [stdout] 417 | info: AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:455:23 [INFO] [stdout] | [INFO] [stdout] 455 | info: AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `prng_seed` and `token_code_hash` in initializer of `PairInitMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:506:15 [INFO] [stdout] | [INFO] [stdout] 506 | let msg = PairInitMsg { [INFO] [stdout] | ^^^^^^^^^^^ missing `prng_seed` and `token_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0533]: expected value, found struct variant `HandleMsg::Receive` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:529:15 [INFO] [stdout] | [INFO] [stdout] 529 | let msg = HandleMsg::Receive(Cw20ReceiveMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: you might have meant to create a new value of the struct [INFO] [stdout] | [INFO] [stdout] 529 | let msg = HandleMsg::Receive { from: /* value */, msg: /* value */, amount: /* value */ }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `callback_code_hash` in initializer of `WasmMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:555:26 [INFO] [stdout] | [INFO] [stdout] 555 | &CosmosMsg::Wasm(WasmMsg::Execute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `callback_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `callback_code_hash` in initializer of `WasmMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:567:26 [INFO] [stdout] | [INFO] [stdout] 567 | &CosmosMsg::Wasm(WasmMsg::Execute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `callback_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:626:13 [INFO] [stdout] | [INFO] [stdout] 626 | AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `prng_seed` and `token_code_hash` in initializer of `PairInitMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:621:15 [INFO] [stdout] | [INFO] [stdout] 621 | let msg = PairInitMsg { [INFO] [stdout] | ^^^^^^^^^^^ missing `prng_seed` and `token_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `expected_return` in initializer of `msg::HandleMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:644:15 [INFO] [stdout] | [INFO] [stdout] 644 | let msg = HandleMsg::Swap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ missing `expected_return` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:703:19 [INFO] [stdout] | [INFO] [stdout] 703 | info: AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `callback_code_hash` in initializer of `WasmMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:745:26 [INFO] [stdout] | [INFO] [stdout] 745 | &CosmosMsg::Wasm(WasmMsg::Execute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `callback_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:797:13 [INFO] [stdout] | [INFO] [stdout] 797 | AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `prng_seed` and `token_code_hash` in initializer of `PairInitMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:792:15 [INFO] [stdout] | [INFO] [stdout] 792 | let msg = PairInitMsg { [INFO] [stdout] | ^^^^^^^^^^^ missing `prng_seed` and `token_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:817:19 [INFO] [stdout] | [INFO] [stdout] 817 | info: AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `expected_return` in initializer of `msg::HandleMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:815:15 [INFO] [stdout] | [INFO] [stdout] 815 | let msg = HandleMsg::Swap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ missing `expected_return` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0533]: expected value, found struct variant `HandleMsg::Receive` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:834:15 [INFO] [stdout] | [INFO] [stdout] 834 | let msg = HandleMsg::Receive(Cw20ReceiveMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: you might have meant to create a new value of the struct [INFO] [stdout] | [INFO] [stdout] 834 | let msg = HandleMsg::Receive { from: /* value */, msg: /* value */, amount: /* value */ }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `expected_return` in initializer of `Cw20HookMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:838:24 [INFO] [stdout] | [INFO] [stdout] 838 | to_binary(&Cw20HookMsg::Swap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `expected_return` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:880:19 [INFO] [stdout] | [INFO] [stdout] 880 | info: AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0533]: expected value, found struct variant `HandleMsg::Receive` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:948:15 [INFO] [stdout] | [INFO] [stdout] 948 | let msg = HandleMsg::Receive(Cw20ReceiveMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: you might have meant to create a new value of the struct [INFO] [stdout] | [INFO] [stdout] 948 | let msg = HandleMsg::Receive { from: /* value */, msg: /* value */, amount: /* value */ }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `expected_return` in initializer of `Cw20HookMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:952:24 [INFO] [stdout] | [INFO] [stdout] 952 | to_binary(&Cw20HookMsg::Swap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `expected_return` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:970:5 [INFO] [stdout] | [INFO] [stdout] 970 | assert_max_spread( [INFO] [stdout] | _____^^^^^^^^^^^^^^^^^- [INFO] [stdout] 971 | | Some(Decimal::from_ratio(1200u128, 1u128)), [INFO] [stdout] 972 | | Some(Decimal::percent(1)), [INFO] [stdout] 973 | | Uint128::from(1200000000u128), [INFO] [stdout] | | ----------------------------- argument #3 of type `std::option::Option` is missing [INFO] [stdout] 974 | | Uint128::from(989999u128), [INFO] [stdout] 975 | | Uint128::zero(), [INFO] [stdout] 976 | | ) [INFO] [stdout] | |_____- argument #7 of type `Uint128` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> contracts/secretswap_pair/src/contract.rs:883:8 [INFO] [stdout] | [INFO] [stdout] 883 | pub fn assert_max_spread( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 884 | belief_price: Option, [INFO] [stdout] | ----------------------------- [INFO] [stdout] 885 | max_spread: Option, [INFO] [stdout] | --------------------------- [INFO] [stdout] 886 | expected_return: Option, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 887 | offer_amount: Uint128, [INFO] [stdout] | --------------------- [INFO] [stdout] 888 | return_amount: Uint128, [INFO] [stdout] | ---------------------- [INFO] [stdout] 889 | commission_amount: Uint128, [INFO] [stdout] | -------------------------- [INFO] [stdout] 890 | spread_amount: Uint128, [INFO] [stdout] | ---------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 970 | assert_max_spread(Some(Decimal::from_ratio(1200u128, 1u128)), Some(Decimal::percent(1)), /* std::option::Option */, Uint128::from(989999u128), Uint128::zero(), Uint128::from(1200000000u128), /* Uint128 */) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:979:5 [INFO] [stdout] | [INFO] [stdout] 979 | assert_max_spread( [INFO] [stdout] | _____^^^^^^^^^^^^^^^^^- [INFO] [stdout] 980 | | Some(Decimal::from_ratio(1200u128, 1u128)), [INFO] [stdout] 981 | | Some(Decimal::percent(1)), [INFO] [stdout] 982 | | Uint128::from(1200000000u128), [INFO] [stdout] | | ----------------------------- argument #3 of type `std::option::Option` is missing [INFO] [stdout] 983 | | Uint128::from(990000u128), [INFO] [stdout] 984 | | Uint128::zero(), [INFO] [stdout] 985 | | ) [INFO] [stdout] | |_____- argument #7 of type `Uint128` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> contracts/secretswap_pair/src/contract.rs:883:8 [INFO] [stdout] | [INFO] [stdout] 883 | pub fn assert_max_spread( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 884 | belief_price: Option, [INFO] [stdout] | ----------------------------- [INFO] [stdout] 885 | max_spread: Option, [INFO] [stdout] | --------------------------- [INFO] [stdout] 886 | expected_return: Option, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 887 | offer_amount: Uint128, [INFO] [stdout] | --------------------- [INFO] [stdout] 888 | return_amount: Uint128, [INFO] [stdout] | ---------------------- [INFO] [stdout] 889 | commission_amount: Uint128, [INFO] [stdout] | -------------------------- [INFO] [stdout] 890 | spread_amount: Uint128, [INFO] [stdout] | ---------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 979 | assert_max_spread(Some(Decimal::from_ratio(1200u128, 1u128)), Some(Decimal::percent(1)), /* std::option::Option */, Uint128::from(990000u128), Uint128::zero(), Uint128::from(1200000000u128), /* Uint128 */) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:988:5 [INFO] [stdout] | [INFO] [stdout] 988 | assert_max_spread( [INFO] [stdout] | _____^^^^^^^^^^^^^^^^^- [INFO] [stdout] 989 | | None, [INFO] [stdout] 990 | | Some(Decimal::percent(1)), [INFO] [stdout] 991 | | Uint128::zero(), [INFO] [stdout] | | --------------- argument #3 of type `std::option::Option` is missing [INFO] [stdout] 992 | | Uint128::from(989999u128), [INFO] [stdout] 993 | | Uint128::from(10001u128), [INFO] [stdout] 994 | | ) [INFO] [stdout] | |_____- argument #7 of type `Uint128` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> contracts/secretswap_pair/src/contract.rs:883:8 [INFO] [stdout] | [INFO] [stdout] 883 | pub fn assert_max_spread( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 884 | belief_price: Option, [INFO] [stdout] | ----------------------------- [INFO] [stdout] 885 | max_spread: Option, [INFO] [stdout] | --------------------------- [INFO] [stdout] 886 | expected_return: Option, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 887 | offer_amount: Uint128, [INFO] [stdout] | --------------------- [INFO] [stdout] 888 | return_amount: Uint128, [INFO] [stdout] | ---------------------- [INFO] [stdout] 889 | commission_amount: Uint128, [INFO] [stdout] | -------------------------- [INFO] [stdout] 890 | spread_amount: Uint128, [INFO] [stdout] | ---------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 988 | assert_max_spread(None, Some(Decimal::percent(1)), /* std::option::Option */, Uint128::from(989999u128), Uint128::from(10001u128), Uint128::zero(), /* Uint128 */) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:997:5 [INFO] [stdout] | [INFO] [stdout] 997 | assert_max_spread( [INFO] [stdout] | _____^^^^^^^^^^^^^^^^^- [INFO] [stdout] 998 | | None, [INFO] [stdout] 999 | | Some(Decimal::percent(1)), [INFO] [stdout] 1000 | | Uint128::zero(), [INFO] [stdout] | | --------------- argument #3 of type `std::option::Option` is missing [INFO] [stdout] 1001 | | Uint128::from(990000u128), [INFO] [stdout] 1002 | | Uint128::from(10000u128), [INFO] [stdout] 1003 | | ) [INFO] [stdout] | |_____- argument #7 of type `Uint128` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> contracts/secretswap_pair/src/contract.rs:883:8 [INFO] [stdout] | [INFO] [stdout] 883 | pub fn assert_max_spread( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 884 | belief_price: Option, [INFO] [stdout] | ----------------------------- [INFO] [stdout] 885 | max_spread: Option, [INFO] [stdout] | --------------------------- [INFO] [stdout] 886 | expected_return: Option, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 887 | offer_amount: Uint128, [INFO] [stdout] | --------------------- [INFO] [stdout] 888 | return_amount: Uint128, [INFO] [stdout] | ---------------------- [INFO] [stdout] 889 | commission_amount: Uint128, [INFO] [stdout] | -------------------------- [INFO] [stdout] 890 | spread_amount: Uint128, [INFO] [stdout] | ---------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 997 | assert_max_spread(None, Some(Decimal::percent(1)), /* std::option::Option */, Uint128::from(990000u128), Uint128::from(10000u128), Uint128::zero(), /* Uint128 */) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:1065:13 [INFO] [stdout] | [INFO] [stdout] 1065 | AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `prng_seed` and `token_code_hash` in initializer of `PairInitMsg` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:1060:15 [INFO] [stdout] | [INFO] [stdout] 1060 | let msg = PairInitMsg { [INFO] [stdout] | ^^^^^^^^^^^ missing `prng_seed` and `token_code_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `token_code_hash` and `viewing_key` in initializer of `AssetInfo` [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:1094:23 [INFO] [stdout] | [INFO] [stdout] 1094 | info: AssetInfo::Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `token_code_hash` and `viewing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerraRoute` [INFO] [stdout] --> contracts/secretswap_pair/src/mock_querier.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | if route == &TerraRoute::Treasury { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TerraRoute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/secretswap_pair/src/mock_querier.rs:144:59 [INFO] [stdout] | [INFO] [stdout] 144 | match self.token_querier.balances.get(contract_addr) { [INFO] [stdout] | --- ^^^^^^^^^^^^^ expected `&HumanAddr`, found `HumanAddr` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/collections/hash/map.rs:875:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 144 | match self.token_querier.balances.get(&contract_addr) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TokenInfoResponse: Serialize` is not satisfied [INFO] [stdout] --> contracts/secretswap_pair/src/mock_querier.rs:168:36 [INFO] [stdout] | [INFO] [stdout] 168 | &to_binary(&secret_toolkit::snip20::TokenInfoResponse { [INFO] [stdout] | __________________________---------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 169 | | token_info: secret_toolkit::snip20::TokenInfo { [INFO] [stdout] 170 | | name: "mAPPL".to_string(), [INFO] [stdout] 171 | | symbol: "mAPPL".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 174 | | }, [INFO] [stdout] 175 | | }) [INFO] [stdout] | |_________________________^ the trait `Serialize` is not implemented for `TokenInfoResponse` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 224 others [INFO] [stdout] note: required by a bound in `to_binary` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/004c6bc/cosmwasm/packages/std/src/serde.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_binary(data: &T) -> StdResult [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 27 | where [INFO] [stdout] 28 | T: Serialize + ?Sized, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_binary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/secretswap_factory/src/testing.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | label: None, [INFO] [stdout] | ^^^^ expected `String`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0027, E0063, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0027`. [INFO] [stdout] [INFO] [stderr] error: could not compile `secretswap-factory` (lib test) due to 27 previous errors [INFO] [stdout] warning: unused variable: `is_done` [INFO] [stdout] --> contracts/secretswap_router/src/contract.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | is_done, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `is_done: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/secretswap_pair/src/testing.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | label: None, [INFO] [stdout] | ^^^^ expected `String`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerraQuery` [INFO] [stdout] --> contracts/secretswap_pair/src/mock_querier.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | TerraQuery::TaxRate {} => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TerraQuery` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerraQuery` [INFO] [stdout] --> contracts/secretswap_pair/src/mock_querier.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | TerraQuery::TaxCap { denom } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TerraQuery` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 62 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0277, E0308, E0412, E0422, E0432, E0433, E0533... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `secretswap-pair` (lib test) due to 63 previous errors; 2 warnings emitted [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "264c4aee8820d5711aca9df1160dba4895d9fc0992d5429333a4eb25be3aee9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "264c4aee8820d5711aca9df1160dba4895d9fc0992d5429333a4eb25be3aee9f", kill_on_drop: false }` [INFO] [stdout] 264c4aee8820d5711aca9df1160dba4895d9fc0992d5429333a4eb25be3aee9f