[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/c3fa06cd068b2264642f85d01e4dba7c093b3c29 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2FSecretStablePools" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enigmampc/SecretStablePools 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/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-3-tc1/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: 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-3-tc1/source/contracts/lp_token/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-3-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 git repository `https://github.com/apache/teaclave-sgx-sdk.git` [INFO] [stderr] Updating git submodule `https://github.com/WebAssembly/testsuite` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha2 v0.9.5 [INFO] [stderr] Downloaded cosmwasm-schema v0.9.4 [INFO] [stderr] Downloaded rustc-demangle v0.1.20 [INFO] [stderr] Downloaded primitive-types v0.9.0 [INFO] [stderr] Downloaded subtle v2.4.0 [INFO] [stderr] Downloaded serde-json-wasm v0.2.3 [INFO] [stderr] Downloaded derive_more v0.99.14 [INFO] [stderr] Downloaded backtrace v0.3.60 [INFO] [stderr] Downloaded schemars v0.7.6 [INFO] [stderr] Downloaded schemars_derive v0.7.6 [INFO] [stderr] Downloaded object v0.25.3 [INFO] [stderr] Downloaded cbindgen v0.13.2 [INFO] [stderr] Downloaded libsecp256k1 v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0b7ba9102d82176975551fbabc70c883669089f18821200ca0c6e02b83a0650 [INFO] running `Command { std: "docker" "start" "-a" "d0b7ba9102d82176975551fbabc70c883669089f18821200ca0c6e02b83a0650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0b7ba9102d82176975551fbabc70c883669089f18821200ca0c6e02b83a0650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b7ba9102d82176975551fbabc70c883669089f18821200ca0c6e02b83a0650", kill_on_drop: false }` [INFO] [stdout] d0b7ba9102d82176975551fbabc70c883669089f18821200ca0c6e02b83a0650 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8346da55d9015946ce2162ea33c7c1cf5cdeeb041dfcdfc21cf1477c5fc3234a [INFO] running `Command { std: "docker" "start" "-a" "8346da55d9015946ce2162ea33c7c1cf5cdeeb041dfcdfc21cf1477c5fc3234a", 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] 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 serde_json v1.0.64 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling cbindgen v0.13.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking primitive-types v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.3 [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 rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Checking generic-array v0.12.4 [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 hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [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-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?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 secret-toolkit-serialization 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-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] Compiling enclave-ffi-types v0.1.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [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] 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[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 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 `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 `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 `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_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 `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 `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 `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 `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 `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 `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 `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[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[E0412]: cannot find type `PairInfo` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:461:16 [INFO] [stdout] | [INFO] [stdout] 461 | ) -> StdResult { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 459 | pub fn query_pair_info( [INFO] [stdout] | ++++++++++ [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 `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[E0412]: cannot find type `PairInfo` in this scope [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:461:16 [INFO] [stdout] | [INFO] [stdout] 461 | ) -> StdResult { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 459 | pub fn query_pair_info( [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: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[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] | ---------------------------------- 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[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] | ---------------------------------- 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[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] | ---------------------------------- similarly named struct `InitResponse` defined here [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] | ---------------------------------- similarly named struct `InitResponse` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/stable_pool/src/lib.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | #[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/stable_pool/src/lib.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | #[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 imports: `Add`, `Mul`, and `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` and `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: `Add`, `Mul`, and `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_multiplication`, `decimal_subtraction`, and `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 imports: `Decimal` and `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 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] warning: unused imports: `decimal_multiplication`, `decimal_subtraction`, and `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: all struct fields are already assigned [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[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: all struct fields are already assigned [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[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 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[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[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[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[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] 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 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: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 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[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[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[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[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[E0382]: use of moved value: `config.lp_token_address` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:220:50 [INFO] [stdout] | [INFO] [stdout] 218 | config.lp_token_address, [INFO] [stdout] | ----------------------- value moved here [INFO] [stdout] 219 | )?], [INFO] [stdout] 220 | log: vec![log("liquidity_token_address", config.lp_token_address)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] = note: move occurs because `config.lp_token_address` has type `HumanAddr`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `config.lp_token_address` [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:220:50 [INFO] [stdout] | [INFO] [stdout] 218 | config.lp_token_address, [INFO] [stdout] | ----------------------- value moved here [INFO] [stdout] 219 | )?], [INFO] [stdout] 220 | log: vec![log("liquidity_token_address", config.lp_token_address)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] = note: move occurs because `config.lp_token_address` has type `HumanAddr`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `deposited_token.address` which is behind a shared reference [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:258:32 [INFO] [stdout] | [INFO] [stdout] 258 | logs.push(log("token", deposited_token.address)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `deposited_token.address` has type `HumanAddr`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 258 | logs.push(log("token", deposited_token.address.clone())); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `deposited_token.address` which is behind a shared reference [INFO] [stdout] --> contracts/stable_pool/src/contract.rs:258:32 [INFO] [stdout] | [INFO] [stdout] 258 | logs.push(log("token", deposited_token.address)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `deposited_token.address` has type `HumanAddr`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 258 | logs.push(log("token", deposited_token.address.clone())); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0412, E0422, E0425, E0507, E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0412, E0422, E0425, E0507, E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `secretswap-stablepools` (lib test) due to 25 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `secretswap-stablepools` (lib) due to 25 previous errors; 8 warnings emitted [INFO] [stderr] error: failed to run custom build command for `enclave-ffi-types v0.1.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/enclave-ffi-types-bc2fe8b607bdafd4/build-script-build` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] Error: CBindgenError { source: CargoMetadata("/opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/490fba9/cosmwasm/packages/enclave-ffi-types/Cargo.toml", Metadata(Output { status: ExitStatus(unix_wait_status(25856)), stdout: "", stderr: " Updating crates.io index\nwarning: spurious network error (3 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (2 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nwarning: spurious network error (1 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)\nerror: failed to get `wabt` as a dependency of package `cosmwasm-sgx-vm v0.10.0 (/opt/rustwide/cargo-home/git/checkouts/secretnetwork-2885a5c51d1243af/490fba9/cosmwasm/packages/sgx-vm)`\n\nCaused by:\n download of wa/bt/wabt failed\n\nCaused by:\n failed to download from `https://index.crates.io/wa/bt/wabt`\n\nCaused by:\n [6] Could not resolve hostname (Could not resolve host: index.crates.io)\n" })) } [INFO] running `Command { std: "docker" "inspect" "8346da55d9015946ce2162ea33c7c1cf5cdeeb041dfcdfc21cf1477c5fc3234a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8346da55d9015946ce2162ea33c7c1cf5cdeeb041dfcdfc21cf1477c5fc3234a", kill_on_drop: false }` [INFO] [stdout] 8346da55d9015946ce2162ea33c7c1cf5cdeeb041dfcdfc21cf1477c5fc3234a