[INFO] cloning repository https://github.com/tingkerbell0305/classic-terraswap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tingkerbell0305/classic-terraswap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftingkerbell0305%2Fclassic-terraswap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftingkerbell0305%2Fclassic-terraswap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ae34d9680367bee892fc3b1f3640e108d67da3e [INFO] testing tingkerbell0305/classic-terraswap against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftingkerbell0305%2Fclassic-terraswap" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tingkerbell0305/classic-terraswap on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tingkerbell0305/classic-terraswap [INFO] finished tweaking git repo https://github.com/tingkerbell0305/classic-terraswap [INFO] tweaked toml for git repo https://github.com/tingkerbell0305/classic-terraswap written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tingkerbell0305/classic-terraswap 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" "+beta-2025-02-18" "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-1-tc2/source/packages/classic_terraswap/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/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-1-tc2/source/contracts/terraswap_factory/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/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-1-tc2/source/contracts/terraswap_moon/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/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-1-tc2/source/contracts/terraswap_pair/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/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-1-tc2/source/contracts/terraswap_router/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing tingkerbell0305/classic-terraswap against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftingkerbell0305%2Fclassic-terraswap" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tingkerbell0305/classic-terraswap on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tingkerbell0305/classic-terraswap [INFO] finished tweaking git repo https://github.com/tingkerbell0305/classic-terraswap [INFO] tweaked toml for git repo https://github.com/tingkerbell0305/classic-terraswap written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tingkerbell0305/classic-terraswap 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" "+beta-2025-02-18" "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-1-tc2/source/packages/classic_terraswap/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/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-1-tc2/source/contracts/terraswap_factory/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/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-1-tc2/source/contracts/terraswap_moon/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/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-1-tc2/source/contracts/terraswap_pair/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/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-1-tc2/source/contracts/terraswap_router/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cw20 v0.14.0 [INFO] [stderr] Downloaded cw-utils v0.14.0 [INFO] [stderr] Downloaded cw2 v0.14.0 [INFO] [stderr] Downloaded cw-storage-plus v0.14.0 [INFO] [stderr] Downloaded classic-bindings v0.1.1 [INFO] [stderr] Downloaded cosmwasm-crypto v1.2.6 [INFO] [stderr] Downloaded cw20-base v0.14.0 [INFO] [stderr] Downloaded cosmwasm-schema-derive v1.2.6 [INFO] [stderr] Downloaded cosmwasm-std v1.2.6 [INFO] [stderr] Downloaded cosmwasm-schema v1.2.6 [INFO] [stderr] Downloaded cosmwasm-storage v1.2.6 [INFO] [stderr] Downloaded cosmwasm-derive v1.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e0efd6b4056d36f180723e1ce8c99b03226e9102048cf53df687daaf6a2abaa [INFO] running `Command { std: "docker" "start" "-a" "7e0efd6b4056d36f180723e1ce8c99b03226e9102048cf53df687daaf6a2abaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e0efd6b4056d36f180723e1ce8c99b03226e9102048cf53df687daaf6a2abaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e0efd6b4056d36f180723e1ce8c99b03226e9102048cf53df687daaf6a2abaa", kill_on_drop: false }` [INFO] [stdout] 7e0efd6b4056d36f180723e1ce8c99b03226e9102048cf53df687daaf6a2abaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15bf34a53407bf731a38947f783fccfebc7a61463be4d3320cf1256a60e90aac [INFO] running `Command { std: "docker" "start" "-a" "15bf34a53407bf731a38947f783fccfebc7a61463be4d3320cf1256a60e90aac", 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/packages/classic_terraswap/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/terraswap_factory/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/terraswap_moon/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/terraswap_pair/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/terraswap_router/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling const-oid v0.9.2 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling cpufeatures v0.2.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling protobuf v2.23.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling k256 v0.11.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-derive v1.2.6 [INFO] [stderr] Compiling cosmwasm-schema-derive v1.2.6 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling ed25519-zebra v3.1.0 [INFO] [stderr] Compiling serde-json-wasm v0.5.1 [INFO] [stderr] Compiling cosmwasm-crypto v1.2.6 [INFO] [stderr] Compiling cosmwasm-std v1.2.6 [INFO] [stderr] Compiling cosmwasm-schema v1.2.6 [INFO] [stderr] Compiling cw-storage-plus v0.14.0 [INFO] [stderr] Compiling classic-bindings v0.1.1 [INFO] [stderr] Compiling cosmwasm-storage v1.2.6 [INFO] [stderr] Compiling cw-storage-plus v1.1.0 [INFO] [stderr] Compiling cw2 v0.14.0 [INFO] [stderr] Compiling cw-utils v0.14.0 [INFO] [stderr] Compiling cw20 v0.14.0 [INFO] [stderr] Compiling classic_terraswap v2.7.0 (/opt/rustwide/workdir/packages/classic_terraswap) [INFO] [stderr] Compiling cw20-base v0.14.0 [INFO] [stdout] warning: unused import: `AssetInfo` [INFO] [stdout] --> packages/classic_terraswap/src/moon.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::asset::{Asset, AssetInfo, VestInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ReceiveMsg` [INFO] [stdout] --> packages/classic_terraswap/src/moon.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cw20::Cw20ReceiveMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling terraswap-factory v0.1.0 (/opt/rustwide/workdir/contracts/terraswap_factory) [INFO] [stderr] Compiling terraswap-pair v0.2.0 (/opt/rustwide/workdir/contracts/terraswap_pair) [INFO] [stderr] Compiling terraswap-moon v0.2.0 (/opt/rustwide/workdir/contracts/terraswap_moon) [INFO] [stderr] Compiling terraswap-token v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_token) [INFO] [stderr] Compiling terraswap-router v0.1.0 (/opt/rustwide/workdir/contracts/terraswap_router) [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_router/src/contract.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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/terraswap_router/src/contract.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_router/src/contract.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_router/src/contract.rs:225:16 [INFO] [stdout] | [INFO] [stdout] 225 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_router/src/contract.rs:568:16 [INFO] [stdout] | [INFO] [stdout] 568 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/terraswap_router/src/operations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [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/terraswap_factory/src/contract.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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/terraswap_factory/src/contract.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:339:16 [INFO] [stdout] | [INFO] [stdout] 339 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:403:16 [INFO] [stdout] | [INFO] [stdout] 403 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> contracts/terraswap_factory/src/response.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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/terraswap_moon/src/contract.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::response::MsgInstantiateContractResponse` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::response::MsgInstantiateContractResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `query_balance` and `query_pair_info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | query_balance, query_pair_info, query_token_balance [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Binary`, `CanonicalAddr`, `Decimal256`, `Deps`, `ReplyOn`, `Reply`, `StdError`, `SubMsg`, `Uint256`, `WasmQuery`, and `from_binary` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | from_binary, to_binary, Addr, Binary, CanonicalAddr, CosmosMsg, Decimal, Decimal256, Deps, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] 14 | DepsMut, Env, MessageInfo, Reply, ReplyOn, Response, StdError, StdResult, SubMsg, Uint128, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] 15 | Uint256, WasmMsg, WasmQuery [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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: `AssetInfo`, `Asset`, `MoonInfo`, and `VestInfo` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | use classic_terraswap::asset::{Asset, AssetInfo, MoonInfo, MoonInfoRaw, VestInfo, VestInfoRaw}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20HookMsg`, `MigrateMsg`, `PoolResponse`, `ReverseSimulationResponse`, and `SimulationResponse` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Cw20HookMsg, MoonExecuteMsg, InstantiateMsg, MigrateMsg, PoolResponse, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 23 | ReverseSimulationResponse, SimulationResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `classic_terraswap::querier::query_token_info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use classic_terraswap::querier::query_token_info; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:683:16 [INFO] [stdout] | [INFO] [stdout] 683 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `classic_terraswap::token::InstantiateMsg as TokenInstantiateMsg` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use classic_terraswap::token::InstantiateMsg as TokenInstantiateMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:1034:16 [INFO] [stdout] | [INFO] [stdout] 1034 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `assert_deadline` and `migrate_version` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | use classic_terraswap::util::{assert_deadline, migrate_version}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20ReceiveMsg` and `MinterResponse` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | use cw20::{Cw20ExecuteMsg, Cw20ReceiveMsg, Denom, MinterResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Mul` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> contracts/terraswap_pair/src/response.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> contracts/terraswap_moon/src/response.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protobuf::Message` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use protobuf::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | info: &MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | info: &MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let mut nft_minter_month_index = moon_config.nft_vest.month_index; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | info: &MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | info: &MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | info: &MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | env: &Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | env: &Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTANTIATE_REPLY_ID` is never used [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const INSTANTIATE_REPLY_ID: u64 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMISSION_RATE` is never used [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const COMMISSION_RATE: u64 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINIMUM_LIQUIDITY_AMOUNT` is never used [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const MINIMUM_LIQUIDITY_AMOUNT: u128 = 1_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `burn_amount` is never read [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | let mut burn_amount = total_supply; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 671 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:672:5 [INFO] [stdout] | [INFO] [stdout] 672 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.04s [INFO] running `Command { std: "docker" "inspect" "15bf34a53407bf731a38947f783fccfebc7a61463be4d3320cf1256a60e90aac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15bf34a53407bf731a38947f783fccfebc7a61463be4d3320cf1256a60e90aac", kill_on_drop: false }` [INFO] [stdout] 15bf34a53407bf731a38947f783fccfebc7a61463be4d3320cf1256a60e90aac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 170f9b0351b5f3365a58c998034debdbf89ba253a8a41c2bca475def020c98d7 [INFO] running `Command { std: "docker" "start" "-a" "170f9b0351b5f3365a58c998034debdbf89ba253a8a41c2bca475def020c98d7", 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/packages/classic_terraswap/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/terraswap_factory/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/terraswap_moon/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/terraswap_pair/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/terraswap_router/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-factory v0.1.0 (/opt/rustwide/workdir/contracts/terraswap_factory)` has the same output filename as the example target `schema` in package `classic_terraswap v2.7.0 (/opt/rustwide/workdir/packages/classic_terraswap)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-factory v0.1.0 (/opt/rustwide/workdir/contracts/terraswap_factory)` has the same output filename as the example target `schema` in package `classic_terraswap v2.7.0 (/opt/rustwide/workdir/packages/classic_terraswap)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-moon v0.2.0 (/opt/rustwide/workdir/contracts/terraswap_moon)` has the same output filename as the example target `schema` in package `terraswap-factory v0.1.0 (/opt/rustwide/workdir/contracts/terraswap_factory)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-moon v0.2.0 (/opt/rustwide/workdir/contracts/terraswap_moon)` has the same output filename as the example target `schema` in package `terraswap-factory v0.1.0 (/opt/rustwide/workdir/contracts/terraswap_factory)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-pair v0.2.0 (/opt/rustwide/workdir/contracts/terraswap_pair)` has the same output filename as the example target `schema` in package `terraswap-moon v0.2.0 (/opt/rustwide/workdir/contracts/terraswap_moon)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-pair v0.2.0 (/opt/rustwide/workdir/contracts/terraswap_pair)` has the same output filename as the example target `schema` in package `terraswap-moon v0.2.0 (/opt/rustwide/workdir/contracts/terraswap_moon)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-router v0.1.0 (/opt/rustwide/workdir/contracts/terraswap_router)` has the same output filename as the example target `schema` in package `terraswap-pair v0.2.0 (/opt/rustwide/workdir/contracts/terraswap_pair)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-router v0.1.0 (/opt/rustwide/workdir/contracts/terraswap_router)` has the same output filename as the example target `schema` in package `terraswap-pair v0.2.0 (/opt/rustwide/workdir/contracts/terraswap_pair)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-token v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_token)` has the same output filename as the example target `schema` in package `terraswap-router v0.1.0 (/opt/rustwide/workdir/contracts/terraswap_router)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-token v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_token)` has the same output filename as the example target `schema` in package `terraswap-router v0.1.0 (/opt/rustwide/workdir/contracts/terraswap_router)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stdout] warning: unused import: `AssetInfo` [INFO] [stdout] --> packages/classic_terraswap/src/moon.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::asset::{Asset, AssetInfo, VestInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ReceiveMsg` [INFO] [stdout] --> packages/classic_terraswap/src/moon.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cw20::Cw20ReceiveMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling classic_terraswap v2.7.0 (/opt/rustwide/workdir/packages/classic_terraswap) [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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/terraswap_moon/src/contract.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::response::MsgInstantiateContractResponse` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::response::MsgInstantiateContractResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `query_balance` and `query_pair_info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | query_balance, query_pair_info, query_token_balance [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Binary`, `CanonicalAddr`, `Decimal256`, `Deps`, `ReplyOn`, `Reply`, `StdError`, `SubMsg`, `Uint256`, `WasmQuery`, and `from_binary` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | from_binary, to_binary, Addr, Binary, CanonicalAddr, CosmosMsg, Decimal, Decimal256, Deps, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] 14 | DepsMut, Env, MessageInfo, Reply, ReplyOn, Response, StdError, StdResult, SubMsg, Uint128, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] 15 | Uint256, WasmMsg, WasmQuery [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssetInfo`, `Asset`, `MoonInfo`, and `VestInfo` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | use classic_terraswap::asset::{Asset, AssetInfo, MoonInfo, MoonInfoRaw, VestInfo, VestInfoRaw}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20HookMsg`, `MigrateMsg`, `PoolResponse`, `ReverseSimulationResponse`, and `SimulationResponse` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Cw20HookMsg, MoonExecuteMsg, InstantiateMsg, MigrateMsg, PoolResponse, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 23 | ReverseSimulationResponse, SimulationResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `classic_terraswap::querier::query_token_info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use classic_terraswap::querier::query_token_info; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `classic_terraswap::token::InstantiateMsg as TokenInstantiateMsg` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use classic_terraswap::token::InstantiateMsg as TokenInstantiateMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `assert_deadline` and `migrate_version` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | use classic_terraswap::util::{assert_deadline, migrate_version}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20ReceiveMsg` and `MinterResponse` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | use cw20::{Cw20ExecuteMsg, Cw20ReceiveMsg, Denom, MinterResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Mul` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> contracts/terraswap_moon/src/response.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protobuf::Message` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use protobuf::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | info: &MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | info: &MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let mut nft_minter_month_index = moon_config.nft_vest.month_index; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | info: &MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | info: &MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | info: &MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | env: &Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | env: &Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTANTIATE_REPLY_ID` is never used [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const INSTANTIATE_REPLY_ID: u64 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMISSION_RATE` is never used [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const COMMISSION_RATE: u64 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINIMUM_LIQUIDITY_AMOUNT` is never used [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const MINIMUM_LIQUIDITY_AMOUNT: u128 = 1_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_router/src/contract.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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/terraswap_router/src/contract.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_router/src/contract.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_router/src/contract.rs:225:16 [INFO] [stdout] | [INFO] [stdout] 225 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_router/src/contract.rs:568:16 [INFO] [stdout] | [INFO] [stdout] 568 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/terraswap_router/src/operations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [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/terraswap_factory/src/contract.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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/terraswap_factory/src/contract.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:339:16 [INFO] [stdout] | [INFO] [stdout] 339 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:403:16 [INFO] [stdout] | [INFO] [stdout] 403 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> contracts/terraswap_factory/src/response.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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/terraswap_pair/src/contract.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:683:16 [INFO] [stdout] | [INFO] [stdout] 683 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:1034:16 [INFO] [stdout] | [INFO] [stdout] 1034 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> contracts/terraswap_pair/src/response.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `burn_amount` is never read [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | let mut burn_amount = total_supply; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 671 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:672:5 [INFO] [stdout] | [INFO] [stdout] 672 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling terraswap-moon v0.2.0 (/opt/rustwide/workdir/contracts/terraswap_moon) [INFO] [stderr] Compiling terraswap-pair v0.2.0 (/opt/rustwide/workdir/contracts/terraswap_pair) [INFO] [stderr] Compiling terraswap-factory v0.1.0 (/opt/rustwide/workdir/contracts/terraswap_factory) [INFO] [stderr] Compiling terraswap-router v0.1.0 (/opt/rustwide/workdir/contracts/terraswap_router) [INFO] [stderr] Compiling terraswap-token v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_token) [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_router/src/contract.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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/terraswap_router/src/contract.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_router/src/contract.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_router/src/contract.rs:225:16 [INFO] [stdout] | [INFO] [stdout] 225 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_router/src/contract.rs:568:16 [INFO] [stdout] | [INFO] [stdout] 568 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/terraswap_router/src/operations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `classic_terraswap::moon::ExecuteMsg` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | Cw20HookMsg, ExecuteMsg, InstantiateMsg, PoolResponse, ReverseSimulationResponse, [INFO] [stdout] | ^^^^^^^^^^ no `ExecuteMsg` in `moon` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these enums instead: [INFO] [stdout] classic_terraswap::factory::ExecuteMsg [INFO] [stdout] classic_terraswap::pair::ExecuteMsg [INFO] [stdout] classic_terraswap::router::ExecuteMsg [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `classic_terraswap::moon::ExecuteMsg`, `classic_terraswap::moon::QueryMsg` [INFO] [stdout] --> contracts/terraswap_moon/examples/schema.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | Cw20HookMsg, ExecuteMsg, InstantiateMsg, MigrateMsg, PoolResponse, QueryMsg, [INFO] [stdout] | ^^^^^^^^^^ no `ExecuteMsg` in `moon` ^^^^^^^^ no `QueryMsg` in `moon` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these enums instead: [INFO] [stdout] classic_terraswap::factory::ExecuteMsg [INFO] [stdout] classic_terraswap::pair::ExecuteMsg [INFO] [stdout] classic_terraswap::router::ExecuteMsg [INFO] [stdout] = help: consider importing one of these enums instead: [INFO] [stdout] classic_terraswap::factory::QueryMsg [INFO] [stdout] classic_terraswap::pair::QueryMsg [INFO] [stdout] classic_terraswap::router::QueryMsg [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::contract::assert_max_spread`, `crate::contract::assert_minimum_assets`, `crate::contract::query_moon_info`, `crate::contract::query_pool`, `crate::contract::query_reverse_simulation`, `crate::contract::query_simulation`, `crate::contract::reply` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | assert_max_spread, assert_minimum_assets, execute, instantiate, query_moon_info, query_pool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `query_pool` in `contract` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `query_moon_info` in `contract` [INFO] [stdout] | | no `assert_minimum_assets` in `contract` [INFO] [stdout] | no `assert_max_spread` in `contract` [INFO] [stdout] 3 | query_reverse_simulation, query_simulation, reply, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ no `reply` in `contract` [INFO] [stdout] | | | [INFO] [stdout] | | no `query_simulation` in `contract` [INFO] [stdout] | no `query_reverse_simulation` in `contract` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 2 - assert_max_spread, assert_minimum_assets, execute, instantiate, query_moon_info, query_pool, [INFO] [stdout] 2 + assert_max_spread, assert_minimum_assets, execute, instantiate, query_token_info, query_pool, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 - query_reverse_simulation, query_simulation, reply, [INFO] [stdout] 3 + query_reverse_simulation, query_simulation, Reply, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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/terraswap_factory/src/contract.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:339:16 [INFO] [stdout] | [INFO] [stdout] 339 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:403:16 [INFO] [stdout] | [INFO] [stdout] 403 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> contracts/terraswap_factory/src/response.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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/terraswap_moon/src/contract.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::response::MsgInstantiateContractResponse` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::response::MsgInstantiateContractResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `query_balance` and `query_pair_info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | query_balance, query_pair_info, query_token_balance [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `terraswap-moon` (example "schema") due to 1 previous error [INFO] [stdout] warning: unused imports: `Binary`, `CanonicalAddr`, `Decimal256`, `Deps`, `ReplyOn`, `Reply`, `StdError`, `SubMsg`, `Uint256`, `WasmQuery`, and `from_binary` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | from_binary, to_binary, Addr, Binary, CanonicalAddr, CosmosMsg, Decimal, Decimal256, Deps, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] 14 | DepsMut, Env, MessageInfo, Reply, ReplyOn, Response, StdError, StdResult, SubMsg, Uint128, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] 15 | Uint256, WasmMsg, WasmQuery [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `AssetInfo`, `Asset`, `MoonInfo`, and `VestInfo` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | use classic_terraswap::asset::{Asset, AssetInfo, MoonInfo, MoonInfoRaw, VestInfo, VestInfoRaw}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20HookMsg`, `MigrateMsg`, `PoolResponse`, `ReverseSimulationResponse`, and `SimulationResponse` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Cw20HookMsg, MoonExecuteMsg, InstantiateMsg, MigrateMsg, PoolResponse, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 23 | ReverseSimulationResponse, SimulationResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `classic_terraswap::querier::query_token_info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use classic_terraswap::querier::query_token_info; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `classic_terraswap::token::InstantiateMsg as TokenInstantiateMsg` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use classic_terraswap::token::InstantiateMsg as TokenInstantiateMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `assert_deadline` and `migrate_version` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | use classic_terraswap::util::{assert_deadline, migrate_version}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20ReceiveMsg` and `MinterResponse` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | use cw20::{Cw20ExecuteMsg, Cw20ReceiveMsg, Denom, MinterResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Mul` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> contracts/terraswap_moon/src/response.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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/terraswap_pair/src/contract.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:683:16 [INFO] [stdout] | [INFO] [stdout] 683 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:1034:16 [INFO] [stdout] | [INFO] [stdout] 1034 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [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] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> contracts/terraswap_pair/src/response.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `asset_infos` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | asset_infos: [ [INFO] [stdout] | ^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `token_code_id` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | token_code_id: 10u64, [INFO] [stdout] | ^^^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `asset_decimals` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | asset_decimals: [6u8, 8u8], [INFO] [stdout] | ^^^^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `asset_infos` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | asset_infos: [ [INFO] [stdout] | ^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `token_code_id` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | token_code_id: 10u64, [INFO] [stdout] | ^^^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `asset_decimals` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | asset_decimals: [6u8, 8u8], [INFO] [stdout] | ^^^^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:375:35 [INFO] [stdout] | [INFO] [stdout] 375 | let res: Response = execute(deps.as_mut(), env, info, msg).unwrap(); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Response`, found `Response` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Response` [INFO] [stdout] found struct `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `asset_infos` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 545 | asset_infos: [ [INFO] [stdout] | ^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `token_code_id` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | token_code_id: 10u64, [INFO] [stdout] | ^^^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `asset_decimals` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | asset_decimals: [6u8, 8u8], [INFO] [stdout] | ^^^^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `WithdrawLiquidity` found for enum `classic_terraswap::moon::Cw20HookMsg` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:581:38 [INFO] [stdout] | [INFO] [stdout] 581 | msg: to_binary(&Cw20HookMsg::WithdrawLiquidity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ variant not found in `classic_terraswap::moon::Cw20HookMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `WithdrawLiquidity` found for enum `classic_terraswap::moon::Cw20HookMsg` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | msg: to_binary(&Cw20HookMsg::WithdrawLiquidity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ variant not found in `classic_terraswap::moon::Cw20HookMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `WithdrawLiquidity` found for enum `classic_terraswap::moon::Cw20HookMsg` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:679:38 [INFO] [stdout] | [INFO] [stdout] 679 | msg: to_binary(&Cw20HookMsg::WithdrawLiquidity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ variant not found in `classic_terraswap::moon::Cw20HookMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `asset_infos` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | asset_infos: [ [INFO] [stdout] | ^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `token_code_id` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:753:9 [INFO] [stdout] | [INFO] [stdout] 753 | token_code_id: 10u64, [INFO] [stdout] | ^^^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `asset_decimals` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:754:9 [INFO] [stdout] | [INFO] [stdout] 754 | asset_decimals: [6u8, 8u8], [INFO] [stdout] | ^^^^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `asset_infos` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:928:9 [INFO] [stdout] | [INFO] [stdout] 928 | asset_infos: [ [INFO] [stdout] | ^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `token_code_id` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:936:9 [INFO] [stdout] | [INFO] [stdout] 936 | token_code_id: 10u64, [INFO] [stdout] | ^^^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `asset_decimals` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:937:9 [INFO] [stdout] | [INFO] [stdout] 937 | asset_decimals: [8u8, 8u8], [INFO] [stdout] | ^^^^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Swap` found for enum `classic_terraswap::moon::Cw20HookMsg` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:986:38 [INFO] [stdout] | [INFO] [stdout] 986 | msg: to_binary(&Cw20HookMsg::Swap { [INFO] [stdout] | ^^^^ variant not found in `classic_terraswap::moon::Cw20HookMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Swap` found for enum `classic_terraswap::moon::Cw20HookMsg` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:1108:38 [INFO] [stdout] | [INFO] [stdout] 1108 | msg: to_binary(&Cw20HookMsg::Swap { [INFO] [stdout] | ^^^^ variant not found in `classic_terraswap::moon::Cw20HookMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `asset_infos` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:1349:9 [INFO] [stdout] | [INFO] [stdout] 1349 | asset_infos: [ [INFO] [stdout] | ^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `token_code_id` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:1357:9 [INFO] [stdout] | [INFO] [stdout] 1357 | token_code_id: 10u64, [INFO] [stdout] | ^^^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `classic_terraswap::moon::InstantiateMsg` has no field named `asset_decimals` [INFO] [stdout] --> contracts/terraswap_moon/src/testing.rs:1358:9 [INFO] [stdout] | [INFO] [stdout] 1358 | asset_decimals: [6u8, 8u8], [INFO] [stdout] | ^^^^^^^^^^^^^^ `classic_terraswap::moon::InstantiateMsg` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `clsm_addr`, `pair_vest`, `nft_vest`, `marketing_vest`, `game_vest`, `team_vest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protobuf::Message` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use protobuf::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | info: &MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | info: &MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let mut nft_minter_month_index = moon_config.nft_vest.month_index; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | info: &MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | info: &MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | info: &MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | env: &Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/terraswap_moon/src/contract.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | env: &Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `clsm_addr` in initializer of `classic_terraswap::factory::InstantiateMsg` [INFO] [stdout] --> contracts/terraswap_factory/src/testing.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | let msg = InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `clsm_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `clsm_addr` in initializer of `classic_terraswap::factory::InstantiateMsg` [INFO] [stdout] --> contracts/terraswap_factory/src/testing.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | let msg = InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `clsm_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `clsm_addr` in initializer of `classic_terraswap::factory::InstantiateMsg` [INFO] [stdout] --> contracts/terraswap_factory/src/testing.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | let msg = InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `clsm_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `clsm_addr` and `team_addr` in initializer of `classic_terraswap::pair::InstantiateMsg` [INFO] [stdout] --> contracts/terraswap_factory/src/testing.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | msg: to_binary(&PairInstantiateMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ missing `clsm_addr` and `team_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `clsm_addr` and `team_addr` in initializer of `classic_terraswap::pair::InstantiateMsg` [INFO] [stdout] --> contracts/terraswap_factory/src/testing.rs:262:33 [INFO] [stdout] | [INFO] [stdout] 262 | msg: to_binary(&PairInstantiateMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ missing `clsm_addr` and `team_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `terraswap-moon` (lib test) due to 26 previous errors; 26 warnings emitted [INFO] [stdout] error[E0063]: missing fields `clsm_addr` and `team_addr` in initializer of `classic_terraswap::pair::InstantiateMsg` [INFO] [stdout] --> contracts/terraswap_pair/src/testing.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | let msg = InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `clsm_addr` and `team_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `clsm_addr` and `team_addr` in initializer of `classic_terraswap::pair::InstantiateMsg` [INFO] [stdout] --> contracts/terraswap_pair/src/testing.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | let msg = InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `clsm_addr` and `team_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `clsm_addr` and `team_addr` in initializer of `classic_terraswap::pair::InstantiateMsg` [INFO] [stdout] --> contracts/terraswap_pair/src/testing.rs:544:15 [INFO] [stdout] | [INFO] [stdout] 544 | let msg = InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `clsm_addr` and `team_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `clsm_addr` and `team_addr` in initializer of `classic_terraswap::pair::InstantiateMsg` [INFO] [stdout] --> contracts/terraswap_pair/src/testing.rs:744:15 [INFO] [stdout] | [INFO] [stdout] 744 | let msg = InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `clsm_addr` and `team_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `clsm_addr` and `team_addr` in initializer of `classic_terraswap::pair::InstantiateMsg` [INFO] [stdout] --> contracts/terraswap_pair/src/testing.rs:927:15 [INFO] [stdout] | [INFO] [stdout] 927 | let msg = InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `clsm_addr` and `team_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `clsm_addr` and `team_addr` in initializer of `classic_terraswap::pair::InstantiateMsg` [INFO] [stdout] --> contracts/terraswap_pair/src/testing.rs:1348:15 [INFO] [stdout] | [INFO] [stdout] 1348 | let msg = InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `clsm_addr` and `team_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `burn_amount` is never read [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | let mut burn_amount = total_supply; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 671 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:672:5 [INFO] [stdout] | [INFO] [stdout] 672 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AssetInfo` [INFO] [stdout] --> packages/classic_terraswap/src/moon.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::asset::{Asset, AssetInfo, VestInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ReceiveMsg` [INFO] [stdout] --> packages/classic_terraswap/src/moon.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cw20::Cw20ReceiveMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `terraswap-factory` (lib test) due to 5 previous errors; 7 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `terraswap-pair` (lib test) due to 6 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "170f9b0351b5f3365a58c998034debdbf89ba253a8a41c2bca475def020c98d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "170f9b0351b5f3365a58c998034debdbf89ba253a8a41c2bca475def020c98d7", kill_on_drop: false }` [INFO] [stdout] 170f9b0351b5f3365a58c998034debdbf89ba253a8a41c2bca475def020c98d7