[INFO] cloning repository https://github.com/Capybara003/Nova_backend_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Capybara003/Nova_backend_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCapybara003%2FNova_backend_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCapybara003%2FNova_backend_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a11e8a37aee5afb348145df78acdc78c6048dddc [INFO] checking Capybara003/Nova_backend_Rust against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCapybara003%2FNova_backend_Rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Capybara003/Nova_backend_Rust [INFO] finished tweaking git repo https://github.com/Capybara003/Nova_backend_Rust [INFO] tweaked toml for git repo https://github.com/Capybara003/Nova_backend_Rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Capybara003/Nova_backend_Rust on toolchain 9c3064e131f4939cc95a29bb11413c49bbda1491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Capybara003/Nova_backend_Rust 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" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f99b3a3ce15a57666ca07077a2347d82f70d661b0dec1f589c402c78553b3ab5 [INFO] running `Command { std: "docker" "start" "-a" "f99b3a3ce15a57666ca07077a2347d82f70d661b0dec1f589c402c78553b3ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f99b3a3ce15a57666ca07077a2347d82f70d661b0dec1f589c402c78553b3ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99b3a3ce15a57666ca07077a2347d82f70d661b0dec1f589c402c78553b3ab5", kill_on_drop: false }` [INFO] [stdout] f99b3a3ce15a57666ca07077a2347d82f70d661b0dec1f589c402c78553b3ab5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58468137b5ad1f677c80758d3b4784585e1b8ea9c41fe45d30014220784955d2 [INFO] running `Command { std: "docker" "start" "-a" "58468137b5ad1f677c80758d3b4784585e1b8ea9c41fe45d30014220784955d2", kill_on_drop: false }` [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 proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling httparse v1.9.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Checking cookie v0.17.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling tokio-openssl v0.6.4 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.2 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking zerovec v0.10.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Checking tungstenite v0.23.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking icu_properties v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking actix-server v2.4.0 [INFO] [stderr] Checking tokio-tungstenite v0.23.1 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna v1.0.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking url v2.5.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking cookie_store v0.20.0 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking actix-http v3.7.0 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking sei-client v0.1.0 (/opt/rustwide/workdir/sei-client) [INFO] [stdout] warning: unused import: `Proxy` [INFO] [stdout] --> sei-client/src/apis/_apis.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use reqwest::{Client, Proxy}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> sei-client/src/apis/_apis.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> sei-client/src/apis/_apis.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::field_data::field_data_structions::{self, Collection, NftAttribute, NftToken}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Attributes` [INFO] [stdout] --> sei-client/src/apis/_apis.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::field_data::{data_structions::{AllNftInfo, Attributes}, field_data_structions::CollectionInfo}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> sei-client/src/apis/_apis.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | for token_id in (1..=collection.count.parse::().unwrap()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 272 - for token_id in (1..=collection.count.parse::().unwrap()){ [INFO] [stdout] 272 + for token_id in 1..=collection.count.parse::().unwrap() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> sei-client/src/field_data/field_data_structions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> sei-client/src/field_data/field_data_structions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> sei-client/src/field_data/token_swap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TxResponse` [INFO] [stdout] --> sei-client/src/field_data/token_swap.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{data_structions::{HashData,TxResponse,Log,Event,Attribute}}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> sei-client/src/field_data/token_swap.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | for index in (0..attributes.len()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - for index in (0..attributes.len()){ [INFO] [stdout] 69 + for index in 0..attributes.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> sei-client/src/field_data/token_swap.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | for index in (0..attributes.len()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 105 - for index in (0..attributes.len()){ [INFO] [stdout] 105 + for index in 0..attributes.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Receiver` [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::{Sender,Receiver}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Log` and `TxResponse` [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{data_structions::{Attribute, Event, HashData, Log, TxResponse}}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Proxy` [INFO] [stdout] --> sei-client/src/apis/_apis.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use reqwest::{Client, Proxy}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> sei-client/src/apis/_apis.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> sei-client/src/apis/_apis.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::field_data::field_data_structions::{self, Collection, NftAttribute, NftToken}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Attributes` [INFO] [stdout] --> sei-client/src/apis/_apis.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::field_data::{data_structions::{AllNftInfo, Attributes}, field_data_structions::CollectionInfo}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> sei-client/src/apis/_apis.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | for token_id in (1..=collection.count.parse::().unwrap()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 272 - for token_id in (1..=collection.count.parse::().unwrap()){ [INFO] [stdout] 272 + for token_id in 1..=collection.count.parse::().unwrap() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> sei-client/src/field_data/field_data_structions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> sei-client/src/field_data/field_data_structions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> sei-client/src/field_data/token_swap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TxResponse` [INFO] [stdout] --> sei-client/src/field_data/token_swap.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{data_structions::{HashData,TxResponse,Log,Event,Attribute}}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> sei-client/src/field_data/token_swap.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | for index in (0..attributes.len()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - for index in (0..attributes.len()){ [INFO] [stdout] 69 + for index in 0..attributes.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> sei-client/src/field_data/token_swap.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | for index in (0..attributes.len()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 105 - for index in (0..attributes.len()){ [INFO] [stdout] 105 + for index in 0..attributes.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Receiver` [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::{Sender,Receiver}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Log` and `TxResponse` [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{data_structions::{Attribute, Event, HashData, Log, TxResponse}}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_last_height`, `get_transaction_txs_by_event`, `get_transaction_txs_by_tx`, and `get_txs_by_block_height` [INFO] [stdout] --> sei-client/src/lib.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | use apis::_apis::{get_contract_info, get_last_height, get_transaction_txs_by_event, get_transaction_txs_by_tx, get_txs_by_block_height}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `apis::_apis::base64::encode`: Use Engine::encode [INFO] [stdout] --> sei-client/src/apis/_apis.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use base64::encode; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `apis::_apis::base64::encode`: Use Engine::encode [INFO] [stdout] --> sei-client/src/apis/_apis.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | encode(json!({"contract_info":{}}).to_string()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `apis::_apis::base64::encode`: Use Engine::encode [INFO] [stdout] --> sei-client/src/apis/_apis.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | encode(json!({"minter":{}}).to_string()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `apis::_apis::base64::encode`: Use Engine::encode [INFO] [stdout] --> sei-client/src/apis/_apis.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | encode(json!({"num_tokens":{}}).to_string())]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `apis::_apis::base64::encode`: Use Engine::encode [INFO] [stdout] --> sei-client/src/apis/_apis.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let query_data=encode(json!({"all_nft_info":{"token_id":token_id}}).to_string()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `apis::_apis::base64::encode`: Use Engine::encode [INFO] [stdout] --> sei-client/src/apis/_apis.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use base64::encode; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `apis::_apis::base64::encode`: Use Engine::encode [INFO] [stdout] --> sei-client/src/apis/_apis.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | encode(json!({"contract_info":{}}).to_string()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `apis::_apis::base64::encode`: Use Engine::encode [INFO] [stdout] --> sei-client/src/apis/_apis.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | encode(json!({"minter":{}}).to_string()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `apis::_apis::base64::encode`: Use Engine::encode [INFO] [stdout] --> sei-client/src/apis/_apis.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | encode(json!({"num_tokens":{}}).to_string())]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `apis::_apis::base64::encode`: Use Engine::encode [INFO] [stdout] --> sei-client/src/apis/_apis.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let query_data=encode(json!({"all_nft_info":{"token_id":token_id}}).to_string()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contraction_address` [INFO] [stdout] --> sei-client/src/apis/_apis.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let contraction_address=Arc::clone(&contract_address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contraction_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/apis/_apis.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut rp_data:Vec=vec![]; [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: `e` [INFO] [stdout] --> sei-client/src/apis/_apis.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | Err(e)=>None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> sei-client/src/apis/_apis.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | Err(e)=>None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/apis/_apis.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let mut nft_tokens_info:Vec=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:205:46 [INFO] [stdout] | [INFO] [stdout] 205 | attrs.iter().enumerate().for_each(|( mut index,attr)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:247:65 [INFO] [stdout] | [INFO] [stdout] 247 | Some(event.attributes.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:266:67 [INFO] [stdout] | [INFO] [stdout] 266 | wasm_buy_now.attributes.iter().enumerate().for_each(|(mut wasm_buy_now_index,attribute)|{ [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:306:46 [INFO] [stdout] | [INFO] [stdout] 306 | wasm_attrs.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:329:46 [INFO] [stdout] | [INFO] [stdout] 329 | wasm_attrs.iter().enumerate().for_each(|(mut index,attr)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:359:51 [INFO] [stdout] | [INFO] [stdout] 359 | wasm.attributes.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:373:70 [INFO] [stdout] | [INFO] [stdout] 373 | wasm_create_auction.attributes.iter().enumerate().for_each(|(mut wasm_carete_crate_auction_index,attribute)|{ [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contraction_address` [INFO] [stdout] --> sei-client/src/apis/_apis.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let contraction_address=Arc::clone(&contract_address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contraction_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:410:51 [INFO] [stdout] | [INFO] [stdout] 410 | wasm.attributes.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:424:70 [INFO] [stdout] | [INFO] [stdout] 424 | wasm_cancel_auction.attributes.iter().enumerate().for_each(|(mut wasm_cancel_crate_auction_index,attribute)|{ [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:459:51 [INFO] [stdout] | [INFO] [stdout] 459 | wasm.attributes.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:471:63 [INFO] [stdout] | [INFO] [stdout] 471 | wasm_buy_now.attributes.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:510:51 [INFO] [stdout] | [INFO] [stdout] 510 | wasm.attributes.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/apis/_apis.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut rp_data:Vec=vec![]; [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: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:522:66 [INFO] [stdout] | [INFO] [stdout] 522 | wasm_accept_bid.attributes.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:558:61 [INFO] [stdout] | [INFO] [stdout] 558 | wasm_create_auction_attrs.iter().enumerate().for_each(|(mut index,attr)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> sei-client/src/apis/_apis.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | Err(e)=>None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> sei-client/src/apis/_apis.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | Err(e)=>None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/apis/_apis.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let mut nft_tokens_info:Vec=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:205:46 [INFO] [stdout] | [INFO] [stdout] 205 | attrs.iter().enumerate().for_each(|( mut index,attr)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:247:65 [INFO] [stdout] | [INFO] [stdout] 247 | Some(event.attributes.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:266:67 [INFO] [stdout] | [INFO] [stdout] 266 | wasm_buy_now.attributes.iter().enumerate().for_each(|(mut wasm_buy_now_index,attribute)|{ [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:306:46 [INFO] [stdout] | [INFO] [stdout] 306 | wasm_attrs.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:329:46 [INFO] [stdout] | [INFO] [stdout] 329 | wasm_attrs.iter().enumerate().for_each(|(mut index,attr)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:359:51 [INFO] [stdout] | [INFO] [stdout] 359 | wasm.attributes.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:373:70 [INFO] [stdout] | [INFO] [stdout] 373 | wasm_create_auction.attributes.iter().enumerate().for_each(|(mut wasm_carete_crate_auction_index,attribute)|{ [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:410:51 [INFO] [stdout] | [INFO] [stdout] 410 | wasm.attributes.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:424:70 [INFO] [stdout] | [INFO] [stdout] 424 | wasm_cancel_auction.attributes.iter().enumerate().for_each(|(mut wasm_cancel_crate_auction_index,attribute)|{ [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:459:51 [INFO] [stdout] | [INFO] [stdout] 459 | wasm.attributes.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:471:63 [INFO] [stdout] | [INFO] [stdout] 471 | wasm_buy_now.attributes.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:510:51 [INFO] [stdout] | [INFO] [stdout] 510 | wasm.attributes.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:522:66 [INFO] [stdout] | [INFO] [stdout] 522 | wasm_accept_bid.attributes.iter().enumerate().for_each(|(mut index,attribute)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:558:61 [INFO] [stdout] | [INFO] [stdout] 558 | wasm_create_auction_attrs.iter().enumerate().for_each(|(mut index,attr)|{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking actix-web v4.7.0 [INFO] [stdout] warning: unused variable: `trade_type` [INFO] [stdout] --> sei-client/src/field_data/token_swap.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let trade_type="token_swap".to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trade_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/apis/_apis.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | handle.await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 293 | let _ = handle.await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | nft_msg_tx.send(NftMessage::OnlyCreateAuction(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 126 | let _ = nft_msg_tx.send(NftMessage::OnlyCreateAuction(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | nft_msg_tx.send(NftMessage::Mint(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 137 | let _ = nft_msg_tx.send(NftMessage::Mint(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | nft_msg_tx.send(NftMessage::BatchBids(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = nft_msg_tx.send(NftMessage::BatchBids(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | nft_msg_tx.send(NftMessage::OnlyTransferNft(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 153 | let _ = nft_msg_tx.send(NftMessage::OnlyTransferNft(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | nft_msg_tx.send(NftMessage::CretaeAuctionNft(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 160 | let _ = nft_msg_tx.send(NftMessage::CretaeAuctionNft(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | nft_msg_tx.send(NftMessage::CancelAuctionNft(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 166 | let _ = nft_msg_tx.send(NftMessage::CancelAuctionNft(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | nft_msg_tx.send(NftMessage::PurchaseCartNft(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 172 | let _ = nft_msg_tx.send(NftMessage::PurchaseCartNft(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | nft_msg_tx.send(NftMessage::AcceptBidNft(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 178 | let _ = nft_msg_tx.send(NftMessage::AcceptBidNft(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | nft_msg_tx.send(NftMessage::FixedSellNft(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 184 | let _ = nft_msg_tx.send(NftMessage::FixedSellNft(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | nft_msg_tx.send(NftMessage::Unkonw(tx.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 189 | let _ = nft_msg_tx.send(NftMessage::Unkonw(tx.clone())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trade_type` [INFO] [stdout] --> sei-client/src/field_data/token_swap.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let trade_type="token_swap".to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trade_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/apis/_apis.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | handle.await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 293 | let _ = handle.await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | nft_msg_tx.send(NftMessage::OnlyCreateAuction(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 126 | let _ = nft_msg_tx.send(NftMessage::OnlyCreateAuction(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | nft_msg_tx.send(NftMessage::Mint(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 137 | let _ = nft_msg_tx.send(NftMessage::Mint(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | nft_msg_tx.send(NftMessage::BatchBids(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = nft_msg_tx.send(NftMessage::BatchBids(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | nft_msg_tx.send(NftMessage::OnlyTransferNft(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 153 | let _ = nft_msg_tx.send(NftMessage::OnlyTransferNft(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | nft_msg_tx.send(NftMessage::CretaeAuctionNft(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 160 | let _ = nft_msg_tx.send(NftMessage::CretaeAuctionNft(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | nft_msg_tx.send(NftMessage::CancelAuctionNft(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 166 | let _ = nft_msg_tx.send(NftMessage::CancelAuctionNft(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | nft_msg_tx.send(NftMessage::PurchaseCartNft(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 172 | let _ = nft_msg_tx.send(NftMessage::PurchaseCartNft(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | nft_msg_tx.send(NftMessage::AcceptBidNft(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 178 | let _ = nft_msg_tx.send(NftMessage::AcceptBidNft(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | nft_msg_tx.send(NftMessage::FixedSellNft(data.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 184 | let _ = nft_msg_tx.send(NftMessage::FixedSellNft(data.unwrap())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> sei-client/src/field_data/nft_transaction.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | nft_msg_tx.send(NftMessage::Unkonw(tx.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 189 | let _ = nft_msg_tx.send(NftMessage::Unkonw(tx.clone())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking actix-cors v0.7.0 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking db v0.1.0 (/opt/rustwide/workdir/db) [INFO] [stdout] warning: type `_User_nft_holding` should have an upper camel case name [INFO] [stdout] --> db/src/tables.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct _User_nft_holding{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UserNftHolding` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDate` [INFO] [stdout] --> db/src/lib.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Utc, NaiveDate}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> db/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PgPoolOptions`, `Pool`, and `types::Json` [INFO] [stdout] --> db/src/lib.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | postgres::{PgPoolOptions, PgQueryResult}, types::Json, Connection, PgConnection, Pool [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FixedSellNft` [INFO] [stdout] --> db/src/lib.rs:12:157 [INFO] [stdout] | [INFO] [stdout] 12 | ...ions::{Collection, NFTtransaction, NftToken, TokenSwap, User,FixedSellNft,OnlyCreateAuction,ContractCreateAuctions}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AcceptBidNft`, `NftAttribute`, `TransferNft`, and `_NftTransaction` [INFO] [stdout] --> db/src/lib.rs:507:57 [INFO] [stdout] | [INFO] [stdout] 507 | use sei_client::field_data::field_data_structions::{AcceptBidNft, NftAttribute, TransferNft, _NftTransaction}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> db/src/lib.rs:505:1 [INFO] [stdout] | [INFO] [stdout] 505 | mod tests{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> db/src/lib.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> db/src/lib.rs:505:1 [INFO] [stdout] | [INFO] [stdout] 505 | mod tests{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `_User_nft_holding` should have an upper camel case name [INFO] [stdout] --> db/src/tables.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct _User_nft_holding{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UserNftHolding` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDate` [INFO] [stdout] --> db/src/lib.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Utc, NaiveDate}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> db/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PgPoolOptions`, `Pool`, and `types::Json` [INFO] [stdout] --> db/src/lib.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | postgres::{PgPoolOptions, PgQueryResult}, types::Json, Connection, PgConnection, Pool [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FixedSellNft` [INFO] [stdout] --> db/src/lib.rs:12:157 [INFO] [stdout] | [INFO] [stdout] 12 | ...ions::{Collection, NFTtransaction, NftToken, TokenSwap, User,FixedSellNft,OnlyCreateAuction,ContractCreateAuctions}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AcceptBidNft`, `NftAttribute`, `TransferNft`, and `_NftTransaction` [INFO] [stdout] --> db/src/lib.rs:507:57 [INFO] [stdout] | [INFO] [stdout] 507 | use sei_client::field_data::field_data_structions::{AcceptBidNft, NftAttribute, TransferNft, _NftTransaction}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> db/src/lib.rs:224:25 [INFO] [stdout] | [INFO] [stdout] 224 | if let Some(mut nfts_holding) = user.nfts_holding.iter_mut().find(|collection|{collection.collection ==collection_account}) { [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: variable does not need to be mutable [INFO] [stdout] --> db/src/lib.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let mut nfts_transactions:Vec=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> db/src/lib.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let mut token_transactions:Vec=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> db/src/lib.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | let mut nfts_holding:Vec=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> db/src/lib.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | let mut token_transactions:Vec=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> db/src/lib.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | let mut nfts_holding:Vec=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> db/src/lib.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | let mut nfts_transactions:Vec=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> db/src/lib.rs:224:25 [INFO] [stdout] | [INFO] [stdout] 224 | if let Some(mut nfts_holding) = user.nfts_holding.iter_mut().find(|collection|{collection.collection ==collection_account}) { [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: variable does not need to be mutable [INFO] [stdout] --> db/src/lib.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let mut nfts_transactions:Vec=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> db/src/lib.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let mut token_transactions:Vec=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> db/src/lib.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | let mut nfts_holding:Vec=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> db/src/lib.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | let mut token_transactions:Vec=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> db/src/lib.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | let mut nfts_holding:Vec=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> db/src/lib.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | let mut nfts_transactions:Vec=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UserData` should have a snake case name [INFO] [stdout] --> db/src/lib.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | if let Some(UserData) =search_user(wallet_address, conn).await { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `user_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UserData` should have a snake case name [INFO] [stdout] --> db/src/lib.rs:376:21 [INFO] [stdout] | [INFO] [stdout] 376 | if let Some(UserData) =search_user(wallet_address, conn).await { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `user_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inster_ContractsCreateAuction` should have a snake case name [INFO] [stdout] --> db/src/lib.rs:443:14 [INFO] [stdout] | [INFO] [stdout] 443 | pub async fn inster_ContractsCreateAuction(contranct_create_auctions:ContractCreateAuctions,conn:&mut PgConnection) -> Option db/src/lib.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | if let Some(UserData) =search_user(wallet_address, conn).await { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `user_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UserData` should have a snake case name [INFO] [stdout] --> db/src/lib.rs:376:21 [INFO] [stdout] | [INFO] [stdout] 376 | if let Some(UserData) =search_user(wallet_address, conn).await { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `user_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inster_ContractsCreateAuction` should have a snake case name [INFO] [stdout] --> db/src/lib.rs:443:14 [INFO] [stdout] | [INFO] [stdout] 443 | pub async fn inster_ContractsCreateAuction(contranct_create_auctions:ContractCreateAuctions,conn:&mut PgConnection) -> Option searcher-client/src/lib.rs:12:69 [INFO] [stdout] | [INFO] [stdout] 12 | use sei_client::field_data::field_data_structions::{NFTtransaction, NftToken, TokenSwap, _NftTransaction}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> searcher-client/src/lib.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::sync::{Mutex, MutexGuard, Semaphore}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `mpsc::channel as tokio_channel`, `self`, and `sleep` [INFO] [stdout] --> searcher-client/src/lib.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::{sync::{self, mpsc::channel as tokio_channel}, time::{sleep, Duration}}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_nft_info` [INFO] [stdout] --> searcher-client/src/lib.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | use sei_client::apis::_apis::{get_nft_info, get_transaction_txs_by_tx}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> searcher-client/src/lib.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | use serde_json::{Map, Value}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client_db` [INFO] [stdout] --> searcher-client/src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | use db::{client_db, update_contract_create_auctions, update_nfts_holding, update_nfts_transactions, update_token_transaction}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NftToken` [INFO] [stdout] --> searcher-client/src/lib.rs:12:69 [INFO] [stdout] | [INFO] [stdout] 12 | use sei_client::field_data::field_data_structions::{NFTtransaction, NftToken, TokenSwap, _NftTransaction}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> searcher-client/src/lib.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::sync::{Mutex, MutexGuard, Semaphore}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `mpsc::channel as tokio_channel`, `self`, and `sleep` [INFO] [stdout] --> searcher-client/src/lib.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::{sync::{self, mpsc::channel as tokio_channel}, time::{sleep, Duration}}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_nft_info` [INFO] [stdout] --> searcher-client/src/lib.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | use sei_client::apis::_apis::{get_nft_info, get_transaction_txs_by_tx}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> searcher-client/src/lib.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | use serde_json::{Map, Value}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client_db` [INFO] [stdout] --> searcher-client/src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | use db::{client_db, update_contract_create_auctions, update_nfts_holding, update_nfts_transactions, update_token_transaction}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> searcher-client/src/lib.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn transcation_datas_routes(mut hash_rx:Receiver,routes:HashMap>,semaphore:Arc) { //... [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: `unsub_msg` [INFO] [stdout] --> searcher-client/src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let unsub_msg=serde_json::json!({ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unsub_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> searcher-client/src/lib.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | Ok((mut ws_stream,_))=>{ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> searcher-client/src/lib.rs:247:37 [INFO] [stdout] | [INFO] [stdout] 247 | pub async fn return_token_swap_data(mut token_swap_data_re:Receiver>,conn:Arc>) { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> searcher-client/src/lib.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn transcation_datas_routes(mut hash_rx:Receiver,routes:HashMap>,semaphore:Arc) { //... [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: variable does not need to be mutable [INFO] [stdout] --> searcher-client/src/lib.rs:270:42 [INFO] [stdout] | [INFO] [stdout] 270 | pub async fn return_nft_transaction_data(mut nft_rx:Receiver,mut nft_msg_tx:Arc>) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> searcher-client/src/lib.rs:270:72 [INFO] [stdout] | [INFO] [stdout] 270 | pub async fn return_nft_transaction_data(mut nft_rx:Receiver,mut nft_msg_tx:Arc>) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unsub_msg` [INFO] [stdout] --> searcher-client/src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let unsub_msg=serde_json::json!({ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unsub_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDate` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Duration, NaiveDate, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `NFTtransaction`, and `TxResponse` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use sei_client::field_data::{data_structions::{Event, TxResponse}, field_data_structions::{Collection, NFTtransaction, _NftTransaction}}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `Value` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{Map, Value}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sei_client::apis::_apis::get_transaction_txs_by_event` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sei_client::apis::_apis::get_transaction_txs_by_event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:70:58 [INFO] [stdout] | [INFO] [stdout] 70 | collection_holding.nfts.iter().for_each(|(nft)|{ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - collection_holding.nfts.iter().for_each(|(nft)|{ [INFO] [stdout] 70 + collection_holding.nfts.iter().for_each(|nft|{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:757:1 [INFO] [stdout] | [INFO] [stdout] 757 | mod db_tests{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IsoWeek` [INFO] [stdout] --> nova-client/src/nft_apis/response_structs.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Datelike, IsoWeek, NaiveDate, NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> nova-client/src/nft_apis/response_structs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> nova-client/src/nft_apis/response_structs.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `_trade` should have an upper camel case name [INFO] [stdout] --> nova-client/src/nft_apis/response_structs.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct _trade{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Trade` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDate` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Duration, NaiveDate, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `NFTtransaction`, and `TxResponse` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use sei_client::field_data::{data_structions::{Event, TxResponse}, field_data_structions::{Collection, NFTtransaction, _NftTransaction}}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `Value` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{Map, Value}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sei_client::apis::_apis::get_transaction_txs_by_event` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sei_client::apis::_apis::get_transaction_txs_by_event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:70:58 [INFO] [stdout] | [INFO] [stdout] 70 | collection_holding.nfts.iter().for_each(|(nft)|{ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - collection_holding.nfts.iter().for_each(|(nft)|{ [INFO] [stdout] 70 + collection_holding.nfts.iter().for_each(|nft|{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IsoWeek` [INFO] [stdout] --> nova-client/src/nft_apis/response_structs.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Datelike, IsoWeek, NaiveDate, NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> nova-client/src/nft_apis/response_structs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> nova-client/src/nft_apis/response_structs.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `_trade` should have an upper camel case name [INFO] [stdout] --> nova-client/src/nft_apis/response_structs.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct _trade{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Trade` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> searcher-client/src/lib.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | Ok((mut ws_stream,_))=>{ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> searcher-client/src/lib.rs:247:37 [INFO] [stdout] | [INFO] [stdout] 247 | pub async fn return_token_swap_data(mut token_swap_data_re:Receiver>,conn:Arc>) { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> searcher-client/src/lib.rs:270:42 [INFO] [stdout] | [INFO] [stdout] 270 | pub async fn return_nft_transaction_data(mut nft_rx:Receiver,mut nft_msg_tx:Arc>) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> searcher-client/src/lib.rs:270:72 [INFO] [stdout] | [INFO] [stdout] 270 | pub async fn return_nft_transaction_data(mut nft_rx:Receiver,mut nft_msg_tx:Arc>) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> searcher-client/src/lib.rs:234:29 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn send_token_swap_data(mut token_rx:Receiver,token_swpan_data_sender:Sender>) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> searcher-client/src/lib.rs:234:29 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn send_token_swap_data(mut token_rx:Receiver,token_swpan_data_sender:Sender>) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> searcher-client/src/lib.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | / tokio::spawn(async move{ [INFO] [stdout] 164 | | [INFO] [stdout] 165 | | while let Some(msg)=read.next().await { [INFO] [stdout] ... | [INFO] [stdout] 219 | | }).await; [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 163 | let _ = tokio::spawn(async move{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `floor_price` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | let floor_price=&nft.floor_price; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_floor_price` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `floor_price` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | let floor_price=&nft.floor_price; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_floor_price` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unrealized_gains_price` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | let unrealized_gains_price=unrealized_gains.get(0..unrealized_gains.len()-4).unwrap().parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unrealized_gains_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unrealized_gains_price` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | let unrealized_gains_price=unrealized_gains.get(0..unrealized_gains.len()-4).unwrap().parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unrealized_gains_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unrealized_gains_price` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:415:17 [INFO] [stdout] | [INFO] [stdout] 415 | let unrealized_gains_price=unrealized_gains.get(0..unrealized_gains.len()-4).unwrap().parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unrealized_gains_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unrealized_gains_price` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:415:17 [INFO] [stdout] | [INFO] [stdout] 415 | let unrealized_gains_price=unrealized_gains.get(0..unrealized_gains.len()-4).unwrap().parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unrealized_gains_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trades_day` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | let mut trades_day:Vec<_trade>=vec![]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trades_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trades_week` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:494:21 [INFO] [stdout] | [INFO] [stdout] 494 | let mut trades_week:Vec<_trade>=vec![]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trades_week` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trades_month` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:495:21 [INFO] [stdout] | [INFO] [stdout] 495 | let mut trades_month:Vec<_trade>=vec![]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trades_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | let mut trades_day:Vec<_trade>=vec![]; [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: variable does not need to be mutable [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:494:17 [INFO] [stdout] | [INFO] [stdout] 494 | let mut trades_week:Vec<_trade>=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 495 | let mut trades_month:Vec<_trade>=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trades_day` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | let mut trades_day:Vec<_trade>=vec![]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trades_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trades_week` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:494:21 [INFO] [stdout] | [INFO] [stdout] 494 | let mut trades_week:Vec<_trade>=vec![]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trades_week` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trades_month` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:495:21 [INFO] [stdout] | [INFO] [stdout] 495 | let mut trades_month:Vec<_trade>=vec![]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trades_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `floor_price` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:676:21 [INFO] [stdout] | [INFO] [stdout] 676 | let mut floor_price:HashMap>=HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_floor_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | let mut trades_day:Vec<_trade>=vec![]; [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: variable does not need to be mutable [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:494:17 [INFO] [stdout] | [INFO] [stdout] 494 | let mut trades_week:Vec<_trade>=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 495 | let mut trades_month:Vec<_trade>=vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:676:17 [INFO] [stdout] | [INFO] [stdout] 676 | let mut floor_price:HashMap>=HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | let mut collection_nfts_floorprice:HashMap>>=HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> searcher-client/src/lib.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | / tokio::spawn(async move{ [INFO] [stdout] 164 | | [INFO] [stdout] 165 | | while let Some(msg)=read.next().await { [INFO] [stdout] ... | [INFO] [stdout] 219 | | }).await; [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 163 | let _ = tokio::spawn(async move{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `floor_price` [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:676:21 [INFO] [stdout] | [INFO] [stdout] 676 | let mut floor_price:HashMap>=HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_floor_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:676:17 [INFO] [stdout] | [INFO] [stdout] 676 | let mut floor_price:HashMap>=HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | let mut collection_nfts_floorprice:HashMap>>=HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SinkExt` and `stream::StreamExt` [INFO] [stdout] --> searcher-client/src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use futures_util::{stream::StreamExt, SinkExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SinkExt` and `stream::StreamExt` [INFO] [stdout] --> searcher-client/src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use futures_util::{stream::StreamExt, SinkExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> searcher-client/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> searcher-client/src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{error::Error, thread}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> searcher-client/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `mpsc::channel as tokio_channel`, `self`, and `sleep` [INFO] [stdout] --> searcher-client/src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::{sync::{self,Semaphore, mpsc::channel as tokio_channel}, time::{sleep, Duration}}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tungstenite::connect_async` [INFO] [stdout] --> searcher-client/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_tungstenite::connect_async; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::Message` [INFO] [stdout] --> searcher-client/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_tungstenite::tungstenite::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> searcher-client/src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{error::Error, thread}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `mpsc::channel as tokio_channel`, `self`, and `sleep` [INFO] [stdout] --> searcher-client/src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::{sync::{self,Semaphore, mpsc::channel as tokio_channel}, time::{sleep, Duration}}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tungstenite::connect_async` [INFO] [stdout] --> searcher-client/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_tungstenite::connect_async; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_tungstenite::tungstenite::Message` [INFO] [stdout] --> searcher-client/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_tungstenite::tungstenite::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscription_message` [INFO] [stdout] --> searcher-client/src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let subscription_message = serde_json::json!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscription_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> searcher-client/src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let a=thread::spawn(move ||{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscription_message` [INFO] [stdout] --> searcher-client/src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let subscription_message = serde_json::json!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscription_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> searcher-client/src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let a=thread::spawn(move ||{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> searcher-client/src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | websocket_run(ws_url, query, hash_tx).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = websocket_run(ws_url, query, hash_tx).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> searcher-client/src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | websocket_run(ws_url, query, hash_tx).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = websocket_run(ws_url, query, hash_tx).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | drop(floor_price_ptr); [INFO] [stdout] | ^^^^^---------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 251 - drop(floor_price_ptr); [INFO] [stdout] 251 + let _ = floor_price_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | drop(buy_price_ptr); [INFO] [stdout] | ^^^^^-------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::option::Option` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 252 - drop(buy_price_ptr); [INFO] [stdout] 252 + let _ = buy_price_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | drop(royalties_fee_ptr); [INFO] [stdout] | ^^^^^-----------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::option::Option` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 253 - drop(royalties_fee_ptr); [INFO] [stdout] 253 + let _ = royalties_fee_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | drop(market_fee_ptr); [INFO] [stdout] | ^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::option::Option` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 254 - drop(market_fee_ptr); [INFO] [stdout] 254 + let _ = market_fee_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | drop(unrealized_gains_ptr); [INFO] [stdout] | ^^^^^--------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::option::Option` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 255 - drop(unrealized_gains_ptr); [INFO] [stdout] 255 + let _ = unrealized_gains_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | drop(ts_ptr); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::string::String` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 256 - drop(ts_ptr); [INFO] [stdout] 256 + let _ = ts_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | drop(tx_hash_ptr); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::string::String` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 257 - drop(tx_hash_ptr); [INFO] [stdout] 257 + let _ = tx_hash_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:627:17 [INFO] [stdout] | [INFO] [stdout] 627 | drop(age_of_nft_assets_ptr); [INFO] [stdout] | ^^^^^---------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::option::Option` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 627 - drop(age_of_nft_assets_ptr); [INFO] [stdout] 627 + let _ = age_of_nft_assets_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | drop(floor_price_ptr); [INFO] [stdout] | ^^^^^---------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 251 - drop(floor_price_ptr); [INFO] [stdout] 251 + let _ = floor_price_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | drop(buy_price_ptr); [INFO] [stdout] | ^^^^^-------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::option::Option` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 252 - drop(buy_price_ptr); [INFO] [stdout] 252 + let _ = buy_price_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | drop(royalties_fee_ptr); [INFO] [stdout] | ^^^^^-----------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::option::Option` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 253 - drop(royalties_fee_ptr); [INFO] [stdout] 253 + let _ = royalties_fee_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | drop(market_fee_ptr); [INFO] [stdout] | ^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::option::Option` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 254 - drop(market_fee_ptr); [INFO] [stdout] 254 + let _ = market_fee_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | drop(unrealized_gains_ptr); [INFO] [stdout] | ^^^^^--------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::option::Option` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 255 - drop(unrealized_gains_ptr); [INFO] [stdout] 255 + let _ = unrealized_gains_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | drop(ts_ptr); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::string::String` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 256 - drop(ts_ptr); [INFO] [stdout] 256 + let _ = ts_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | drop(tx_hash_ptr); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::string::String` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 257 - drop(tx_hash_ptr); [INFO] [stdout] 257 + let _ = tx_hash_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> nova-client/src/nft_apis/user.rs:627:17 [INFO] [stdout] | [INFO] [stdout] 627 | drop(age_of_nft_assets_ptr); [INFO] [stdout] | ^^^^^---------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut std::option::Option` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 627 - drop(age_of_nft_assets_ptr); [INFO] [stdout] 627 + let _ = age_of_nft_assets_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> backend/src/routes.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, http::header, post, web::{self, Data}, HttpRequest, HttpResponse, Responder, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Wallet` [INFO] [stdout] --> backend/src/routes.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::params_structs::{DontHaveData, Wallet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db::client_db` [INFO] [stdout] --> backend/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use db::client_db; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> backend/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cors_allow_origin` [INFO] [stdout] --> backend/src/routes.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let cors_allow_origin = match req.headers().get("Origin") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cors_allow_origin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> backend/src/routes.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, http::header, post, web::{self, Data}, HttpRequest, HttpResponse, Responder, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Wallet` [INFO] [stdout] --> backend/src/routes.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::params_structs::{DontHaveData, Wallet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> backend/src/routes.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db::client_db` [INFO] [stdout] --> backend/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use db::client_db; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> backend/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cors_allow_origin` [INFO] [stdout] --> backend/src/routes.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let cors_allow_origin = match req.headers().get("Origin") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cors_allow_origin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Wallet` is never constructed [INFO] [stdout] --> backend/src/params_structs.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Wallet{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Wallet` is never constructed [INFO] [stdout] --> backend/src/params_structs.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Wallet{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "58468137b5ad1f677c80758d3b4784585e1b8ea9c41fe45d30014220784955d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58468137b5ad1f677c80758d3b4784585e1b8ea9c41fe45d30014220784955d2", kill_on_drop: false }` [INFO] [stdout] 58468137b5ad1f677c80758d3b4784585e1b8ea9c41fe45d30014220784955d2