[INFO] cloning repository https://github.com/override-coder/solana-substreams-dex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/override-coder/solana-substreams-dex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverride-coder%2Fsolana-substreams-dex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverride-coder%2Fsolana-substreams-dex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 760da12feae9de22c0bed4d31b975812b813cb3e [INFO] checking override-coder/solana-substreams-dex against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverride-coder%2Fsolana-substreams-dex" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/override-coder/solana-substreams-dex [INFO] finished tweaking git repo https://github.com/override-coder/solana-substreams-dex [INFO] tweaked toml for git repo https://github.com/override-coder/solana-substreams-dex written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/override-coder/solana-substreams-dex on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/override-coder/solana-substreams-dex 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f19fc6d8075ca161e4afda9ebf2de0b53ccd74150885360b700cc50df048f90d [INFO] running `Command { std: "docker" "start" "-a" "f19fc6d8075ca161e4afda9ebf2de0b53ccd74150885360b700cc50df048f90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f19fc6d8075ca161e4afda9ebf2de0b53ccd74150885360b700cc50df048f90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f19fc6d8075ca161e4afda9ebf2de0b53ccd74150885360b700cc50df048f90d", kill_on_drop: false }` [INFO] [stdout] f19fc6d8075ca161e4afda9ebf2de0b53ccd74150885360b700cc50df048f90d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba9004a51c33d4f919abdbc2149ac18d0b78fbde48a751208d10db0a83c69d68 [INFO] running `Command { std: "docker" "start" "-a" "ba9004a51c33d4f919abdbc2149ac18d0b78fbde48a751208d10db0a83c69d68", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling substreams-solana-macro v0.14.1 (https://github.com/streamingfast/substreams-solana?branch=master#79d7b82a) [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking prost v0.13.3 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling substreams-macro v0.6.0 [INFO] [stderr] Checking borsh v1.5.1 [INFO] [stderr] Checking prost-types v0.13.3 [INFO] [stderr] Checking substreams-solana-core v0.14.1 (https://github.com/streamingfast/substreams-solana?branch=master#79d7b82a) [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Checking substreams v0.6.0 [INFO] [stderr] Checking substreams-solana v0.14.1 (https://github.com/streamingfast/substreams-solana?branch=master#79d7b82a) [INFO] [stderr] Checking substreams-solana-program-instructions v0.2.0 [INFO] [stderr] Checking substreams-database-change v2.0.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking solana-substreams-dex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bs58` [INFO] [stdout] --> src/jupiter_aggregator/jupiter_aggregator_instruction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bs58; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WSOL_ADDRESS` [INFO] [stdout] --> src/pool_creations/pool.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::{is_not_soltoken, prepare_input_accounts, WSOL_ADDRESS}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PUMP_FUN_RAYDIUM_MIGRATION` [INFO] [stdout] --> src/pool_creations/dapps/dapp_6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P.rs:1:54 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{PUMP_FUN_AMM_PROGRAM_ADDRESS, PUMP_FUN_RAYDIUM_MIGRATION}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RAYDIUM_POOL_V4_AMM_PROGRAM_ADDRESS` [INFO] [stdout] --> src/pool_creations/dapps/dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{RAYDIUM_CONCENTRATED_CAMM_PROGRAM_ADDRESS, RAYDIUM_POOL_V4_AMM_PROGRAM_ADDRESS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RAYDIUM_CONCENTRATED_CAMM_PROGRAM_ADDRESS` [INFO] [stdout] --> src/pool_creations/dapps/dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB.rs:1:74 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{METEORA_POOL_PROGRAM_ADDRESS, MOONSHOT_MIGRATION, RAYDIUM_CONCENTRATED_CAMM_PROGRAM_ADDRESS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RAYDIUM_CONCENTRATED_CAMM_PROGRAM_ADDRESS` [INFO] [stdout] --> src/pool_creations/dapps/dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{METEORA_PROGRAM_ADDRESS, RAYDIUM_CONCENTRATED_CAMM_PROGRAM_ADDRESS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MOONSHOT_MIGRATION` [INFO] [stdout] --> src/pool_creations/dapps/dapp_MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{MOONSHOT_ADDRESS, MOONSHOT_MIGRATION}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::E` [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `substreams_solana::pb::sf::solana::r#type::v1::TokenBalance` [INFO] [stdout] --> src/swap/dapps/dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use substreams_solana::pb::sf::solana::r#type::v1::TokenBalance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InnerInstructions` and `TokenBalance` [INFO] [stdout] --> src/swap/dapps/dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use substreams_solana::pb::sf::solana::r#type::v1::{InnerInstructions, TokenBalance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `substreams_solana::pb::sf::solana::r#type::v1::TokenBalance` [INFO] [stdout] --> src/swap/dapps/dapp_whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use substreams_solana::pb::sf::solana::r#type::v1::TokenBalance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pool` and `Pools` [INFO] [stdout] --> src/swap/swap.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::pb::sf::solana::dex::trades::v1::{Pool, Pools, Swaps, TradeData}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WSOL_ADDRESS` and `find_sol_stable_coin_trade` [INFO] [stdout] --> src/swap/swap.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | find_sol_stable_coin_trade, get_amt, get_mint, is_not_soltoken, parse_reserves_instruction, prepare_input_accounts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | WSOL_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bs58` [INFO] [stdout] --> src/jupiter_aggregator/jupiter_aggregator_instruction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bs58; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WSOL_ADDRESS` [INFO] [stdout] --> src/pool_creations/pool.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::{is_not_soltoken, prepare_input_accounts, WSOL_ADDRESS}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PUMP_FUN_RAYDIUM_MIGRATION` [INFO] [stdout] --> src/pool_creations/dapps/dapp_6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P.rs:1:54 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{PUMP_FUN_AMM_PROGRAM_ADDRESS, PUMP_FUN_RAYDIUM_MIGRATION}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RAYDIUM_POOL_V4_AMM_PROGRAM_ADDRESS` [INFO] [stdout] --> src/pool_creations/dapps/dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{RAYDIUM_CONCENTRATED_CAMM_PROGRAM_ADDRESS, RAYDIUM_POOL_V4_AMM_PROGRAM_ADDRESS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RAYDIUM_CONCENTRATED_CAMM_PROGRAM_ADDRESS` [INFO] [stdout] --> src/pool_creations/dapps/dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB.rs:1:74 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{METEORA_POOL_PROGRAM_ADDRESS, MOONSHOT_MIGRATION, RAYDIUM_CONCENTRATED_CAMM_PROGRAM_ADDRESS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RAYDIUM_CONCENTRATED_CAMM_PROGRAM_ADDRESS` [INFO] [stdout] --> src/pool_creations/dapps/dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{METEORA_PROGRAM_ADDRESS, RAYDIUM_CONCENTRATED_CAMM_PROGRAM_ADDRESS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MOONSHOT_MIGRATION` [INFO] [stdout] --> src/pool_creations/dapps/dapp_MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{MOONSHOT_ADDRESS, MOONSHOT_MIGRATION}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::E` [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `substreams_solana::pb::sf::solana::r#type::v1::TokenBalance` [INFO] [stdout] --> src/swap/dapps/dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use substreams_solana::pb::sf::solana::r#type::v1::TokenBalance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InnerInstructions` and `TokenBalance` [INFO] [stdout] --> src/swap/dapps/dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use substreams_solana::pb::sf::solana::r#type::v1::{InnerInstructions, TokenBalance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `substreams_solana::pb::sf::solana::r#type::v1::TokenBalance` [INFO] [stdout] --> src/swap/dapps/dapp_whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use substreams_solana::pb::sf::solana::r#type::v1::TokenBalance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pool` and `Pools` [INFO] [stdout] --> src/swap/swap.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::pb::sf::solana::dex::trades::v1::{Pool, Pools, Swaps, TradeData}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WSOL_ADDRESS` and `find_sol_stable_coin_trade` [INFO] [stdout] --> src/swap/swap.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | find_sol_stable_coin_trade, get_amt, get_mint, is_not_soltoken, parse_reserves_instruction, prepare_input_accounts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | WSOL_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `utils::chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/utils.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | let nt = NaiveDateTime::from_timestamp_opt(ts, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[substreams::handlers::map] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] ... [INFO] [stdout] 33 | return Ok(tables.to_database_changes()); [INFO] [stdout] | --------------------------------------- any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the attribute macro `substreams::handlers::map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `substreams::prelude` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use substreams::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/jupiter_aggregator/jupiter_aggregator_instruction.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `event` is never read [INFO] [stdout] --> src/jupiter_aggregator/jupiter_aggregator_instruction.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | let mut event = InstructionSwapEvent::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `utils::chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/utils.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | let nt = NaiveDateTime::from_timestamp_opt(ts, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[substreams::handlers::map] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] ... [INFO] [stdout] 33 | return Ok(tables.to_database_changes()); [INFO] [stdout] | --------------------------------------- any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the attribute macro `substreams::handlers::map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `substreams::prelude` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use substreams::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/jupiter_aggregator/jupiter_aggregator_instruction.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `event` is never read [INFO] [stdout] --> src/jupiter_aggregator/jupiter_aggregator_instruction.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | let mut event = InstructionSwapEvent::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_idx` [INFO] [stdout] --> src/pool_creations/pool.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | .for_each(|(inner_idx, inner_inst)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/pool_creations/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let (disc_bytes, rest) = bytes_stream.split_at(1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/pool_creations/dapps/dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/pool_creations/dapps/dapp_CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/pool_creations/dapps/dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/pool_creations/dapps/dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/pool_creations/dapps/dapp_MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/pool_creations/dapps/dapp_whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spl_token/spl_token.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | fn filter_token(mut obj: &SplTokenMeta) -> bool { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spl_token/spl_token_meta.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | fn filter_metadata_is_none(mut obj: &TokenMetadataMeta) -> bool { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:571:10 [INFO] [stdout] | [INFO] [stdout] 571 | for (index, &el) in account_indices.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/swap/dapps/dapp_6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/swap/dapps/dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/swap/dapps/dapp_CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/swap/dapps/dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/swap/dapps/dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/swap/dapps/dapp_MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/swap/dapps/dapp_whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount0` [INFO] [stdout] --> src/swap/swap.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 442 | amount0: &String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount1` [INFO] [stdout] --> src/swap/swap.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | amount1: &String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/utils.rs:480:10 [INFO] [stdout] | [INFO] [stdout] 480 | for (index, &el) in account_indices.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TransferAmount` is more private than the item `get_token_22_transfer` [INFO] [stdout] --> src/utils.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 258 | / pub fn get_token_22_transfer( [INFO] [stdout] 259 | | address: &String, [INFO] [stdout] 260 | | input_inner_idx: u32, [INFO] [stdout] 261 | | inner_instructions: &Vec, [INFO] [stdout] 262 | | accounts: &Vec, [INFO] [stdout] 263 | | ) -> Option { [INFO] [stdout] | |___________________________^ function `get_token_22_transfer` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `TransferAmount` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | struct TransferAmount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstructionRoutePlan` is never constructed [INFO] [stdout] --> src/jupiter_aggregator/jupiter_aggregator_instruction.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InstructionRoutePlan { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfirmedTransaction` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ConfirmedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transaction` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Transaction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageHeader` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct MessageHeader { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageAddressTableLookup` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct MessageAddressTableLookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompiledInstruction` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct CompiledInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rewards` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct Rewards { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnixTimestamp` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct UnixTimestamp { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockHeight` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct BlockHeight { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldOptions` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FieldOptions { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Keys` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.index.v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Keys { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Request` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockUndoSignal` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct BlockUndoSignal { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockScopedData` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct BlockScopedData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionInit` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct SessionInit { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InitialSnapshotComplete` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct InitialSnapshotComplete { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InitialSnapshotData` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct InitialSnapshotData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapModuleOutput` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct MapModuleOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoreModuleOutput` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct StoreModuleOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputDebugInfo` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct OutputDebugInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModulesProgress` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct ModulesProgress { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModuleProgress` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct ModuleProgress { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockRange` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct BlockRange { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessedRanges` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct ProcessedRanges { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InitialState` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct InitialState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessedBytes` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:193:16 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct ProcessedBytes { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Failed` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct Failed { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:219:14 [INFO] [stdout] | [INFO] [stdout] 219 | pub enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseChanges` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.database.v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DatabaseChanges { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeployRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DeployRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parameter` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Parameter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct UpdateRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InfoRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct InfoRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct ListRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListResponse` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct ListResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoveRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct RemoveRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PauseRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct PauseRequest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StopRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct StopRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResumeRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct ResumeRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transactions` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.solana.v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Transactions { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Modules` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Modules { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Binary` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Binary { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Module` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Package` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct Package { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PackageMetadata` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PackageMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModuleMetadata` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct ModuleMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Clock` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct Clock { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockRef` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct BlockRef { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KindMap` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct KindMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Output` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Output { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Kind` is never used [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | pub enum Kind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Source` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Source { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Map` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Map { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Params` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct Params { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Input` is never used [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | pub enum Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instructions` is never constructed [INFO] [stdout] --> src/pb/sol.instructions.v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Instructions { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/pb/sol.instructions.v1.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transactions` is never constructed [INFO] [stdout] --> src/pb/sol.transactions.v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Transactions { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InitializeAccount3Layout` is never constructed [INFO] [stdout] --> src/spl_token/spl_token_instruction.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct InitializeAccount3Layout { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReallocateLayout` is never constructed [INFO] [stdout] --> src/spl_token/spl_token_instruction.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ReallocateLayout {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTRUCTION_TYPE_INITIALIZE` is never used [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const INSTRUCTION_TYPE_INITIALIZE: &str = "initialize"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTRUCTION_TYPE_INITIALIZE2` is never used [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const INSTRUCTION_TYPE_INITIALIZE2: &str = "initialize2"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwapBaseInLog` is never constructed [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SwapBaseInLog { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwapBaseOutLog` is never constructed [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SwapBaseOutLog { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwapEvent` is never constructed [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct SwapEvent { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_logs` is never used [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn parse_logs(log_messages: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_matching` is never used [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn is_matching(amount_in: u64, amount_out: u64, amount0: &String, amount1: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CREATE_DISCRIMINATOR` is never used [INFO] [stdout] --> src/swap/dapps/dapp_6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const CREATE_DISCRIMINATOR: u64 = u64::from_le_bytes([24, 30, 200, 40, 5, 28, 7, 119]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_sol_stable_coin_trade` is never used [INFO] [stdout] --> src/utils.rs:494:8 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn find_sol_stable_coin_trade(data: &Vec) -> Option<&TradeData> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8; // Rdydium pool v4 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_675k_px9_mhtj_s2zt1qfr1_nyhuze_lxf_qm9_h24w_fsut1_mp8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod dapp_6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_6_ef8rrecth_r5_dkzon8_nwu78h_rvf_ckub_j14_m5u_bew_f6_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK; // Rdydium CAMM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_cammczo5_yl8w4_vff8_kvhr_k22_ggusp5_vta_w7grr_kgr_wq_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod dapp_CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_cpmmoo8_l3_f4_nb_teg_bckvnungg_l7_h1_zpd_thkx_qb5q_kp1_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_eo7_wj_kq67rj_jqszx_s6z3_ykapz_y3e_mj6_xy8_x5_eqvn5_ua_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_lbuzkh_rx_pf3_xup_bcjp4_yz_tkg_lccj_zh_tsdm9_yu_va_pwxo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod dapp_MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_moon_cvvnzfsykq_nxp6bx_hlpl6_qqji_mag_dl3qcq_uqtr_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod dapp_whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_whir_lb_miic_vdio4qv_uf_m5_kag6_ct8_vwp_yz_gff3ucty_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pool_creations/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | _ => "Unknown".parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `initialize` should have an upper case name [INFO] [stdout] --> src/pool_creations/dapps/dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const initialize: u64 = u64::from_le_bytes([7, 166, 138, 171, 206, 171, 236, 244]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 4 - const initialize: u64 = u64::from_le_bytes([7, 166, 138, 171, 206, 171, 236, 244]); [INFO] [stdout] 4 + const INITIALIZE: u64 = u64::from_le_bytes([7, 166, 138, 171, 206, 171, 236, 244]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `initialize` should have an upper case name [INFO] [stdout] --> src/pool_creations/dapps/dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | initialize => { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `INITIALIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/spl_token/spl_token_instruction.rs:124:79 [INFO] [stdout] | [INFO] [stdout] 124 | initialize_mint_args = InitializeMintLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/spl_token/spl_token_instruction.rs:188:81 [INFO] [stdout] | [INFO] [stdout] 188 | transfer_checked_args = TransferCheckedLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/spl_token/spl_token_instruction.rs:218:80 [INFO] [stdout] | [INFO] [stdout] 218 | initialize_mint2args = InitializeMint2Layout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `useMethod` should have a snake case name [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub useMethod: UseMethodLayout, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `use_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `sellerFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | pub sellerFeeBasisPoints: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `seller_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `primarySaleHappened` should have a snake case name [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | pub primarySaleHappened: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `primary_sale_happened` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isMutable` should have a snake case name [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | pub isMutable: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_mutable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenStandard` should have a snake case name [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | pub tokenStandard: TokenStandardLayout, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_standard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `collectionDetails` should have a snake case name [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | pub collectionDetails: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `collection_details` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ruleSet` should have a snake case name [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | pub ruleSet: Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `rule_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:452:31 [INFO] [stdout] | [INFO] [stdout] 452 | let rest_bytes = &mut rest.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8; // Rdydium pool v4 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_675k_px9_mhtj_s2zt1qfr1_nyhuze_lxf_qm9_h24w_fsut1_mp8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod dapp_6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_6_ef8rrecth_r5_dkzon8_nwu78h_rvf_ckub_j14_m5u_bew_f6_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK; // Rdydium CAMM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_cammczo5_yl8w4_vff8_kvhr_k22_ggusp5_vta_w7grr_kgr_wq_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod dapp_CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_cpmmoo8_l3_f4_nb_teg_bckvnungg_l7_h1_zpd_thkx_qb5q_kp1_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_eo7_wj_kq67rj_jqszx_s6z3_ykapz_y3e_mj6_xy8_x5_eqvn5_ua_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_lbuzkh_rx_pf3_xup_bcjp4_yz_tkg_lccj_zh_tsdm9_yu_va_pwxo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod dapp_MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_moon_cvvnzfsykq_nxp6bx_hlpl6_qqji_mag_dl3qcq_uqtr_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `solana-substreams-dex` (lib) due to 1 previous error; 153 warnings emitted [INFO] [stdout] warning: module `dapp_whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod dapp_whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_whir_lb_miic_vdio4qv_uf_m5_kag6_ct8_vwp_yz_gff3ucty_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:206:81 [INFO] [stdout] | [INFO] [stdout] 206 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:213:81 [INFO] [stdout] | [INFO] [stdout] 213 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:232:81 [INFO] [stdout] | [INFO] [stdout] 232 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:239:81 [INFO] [stdout] | [INFO] [stdout] 239 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:292:81 [INFO] [stdout] | [INFO] [stdout] 292 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:299:81 [INFO] [stdout] | [INFO] [stdout] 299 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:318:81 [INFO] [stdout] | [INFO] [stdout] 318 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:325:81 [INFO] [stdout] | [INFO] [stdout] 325 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:379:81 [INFO] [stdout] | [INFO] [stdout] 379 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:387:81 [INFO] [stdout] | [INFO] [stdout] 387 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_idx` [INFO] [stdout] --> src/pool_creations/pool.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | .for_each(|(inner_idx, inner_inst)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/pool_creations/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let (disc_bytes, rest) = bytes_stream.split_at(1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/pool_creations/dapps/dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/pool_creations/dapps/dapp_CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/pool_creations/dapps/dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/pool_creations/dapps/dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/pool_creations/dapps/dapp_MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/pool_creations/dapps/dapp_whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spl_token/spl_token.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | fn filter_token(mut obj: &SplTokenMeta) -> bool { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spl_token/spl_token_meta.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | fn filter_metadata_is_none(mut obj: &TokenMetadataMeta) -> bool { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:571:10 [INFO] [stdout] | [INFO] [stdout] 571 | for (index, &el) in account_indices.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/swap/dapps/dapp_6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/swap/dapps/dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/swap/dapps/dapp_CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/swap/dapps/dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/swap/dapps/dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/swap/dapps/dapp_MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/swap/dapps/dapp_whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let (disc_bytes, rest) = bytes_stream.split_at(8); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount0` [INFO] [stdout] --> src/swap/swap.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 442 | amount0: &String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount1` [INFO] [stdout] --> src/swap/swap.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | amount1: &String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/utils.rs:480:10 [INFO] [stdout] | [INFO] [stdout] 480 | for (index, &el) in account_indices.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TransferAmount` is more private than the item `get_token_22_transfer` [INFO] [stdout] --> src/utils.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 258 | / pub fn get_token_22_transfer( [INFO] [stdout] 259 | | address: &String, [INFO] [stdout] 260 | | input_inner_idx: u32, [INFO] [stdout] 261 | | inner_instructions: &Vec, [INFO] [stdout] 262 | | accounts: &Vec, [INFO] [stdout] 263 | | ) -> Option { [INFO] [stdout] | |___________________________^ function `get_token_22_transfer` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `TransferAmount` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | struct TransferAmount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstructionRoutePlan` is never constructed [INFO] [stdout] --> src/jupiter_aggregator/jupiter_aggregator_instruction.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InstructionRoutePlan { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfirmedTransaction` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ConfirmedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transaction` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Transaction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageHeader` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct MessageHeader { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageAddressTableLookup` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct MessageAddressTableLookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompiledInstruction` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct CompiledInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rewards` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct Rewards { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnixTimestamp` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct UnixTimestamp { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockHeight` is never constructed [INFO] [stdout] --> src/pb/sf.solana.type.v1.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct BlockHeight { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldOptions` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FieldOptions { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Keys` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.index.v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Keys { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Request` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockUndoSignal` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct BlockUndoSignal { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockScopedData` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct BlockScopedData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionInit` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct SessionInit { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InitialSnapshotComplete` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct InitialSnapshotComplete { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InitialSnapshotData` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct InitialSnapshotData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapModuleOutput` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct MapModuleOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoreModuleOutput` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct StoreModuleOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputDebugInfo` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct OutputDebugInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModulesProgress` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct ModulesProgress { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModuleProgress` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct ModuleProgress { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockRange` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct BlockRange { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessedRanges` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct ProcessedRanges { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InitialState` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct InitialState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessedBytes` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:193:16 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct ProcessedBytes { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Failed` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct Failed { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/pb/sf.substreams.rpc.v2.rs:219:14 [INFO] [stdout] | [INFO] [stdout] 219 | pub enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseChanges` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.database.v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DatabaseChanges { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeployRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DeployRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parameter` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Parameter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct UpdateRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InfoRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct InfoRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct ListRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListResponse` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct ListResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoveRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct RemoveRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PauseRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct PauseRequest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StopRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct StopRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResumeRequest` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.sink.service.v1.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct ResumeRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transactions` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.solana.v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Transactions { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Modules` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Modules { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Binary` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Binary { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Module` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Package` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct Package { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PackageMetadata` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PackageMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModuleMetadata` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct ModuleMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Clock` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct Clock { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockRef` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct BlockRef { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KindMap` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct KindMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Output` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Output { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Kind` is never used [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | pub enum Kind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Source` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Source { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Map` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Map { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Params` is never constructed [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct Params { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Input` is never used [INFO] [stdout] --> src/pb/sf.substreams.v1.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | pub enum Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instructions` is never constructed [INFO] [stdout] --> src/pb/sol.instructions.v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Instructions { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/pb/sol.instructions.v1.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transactions` is never constructed [INFO] [stdout] --> src/pb/sol.transactions.v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Transactions { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InitializeAccount3Layout` is never constructed [INFO] [stdout] --> src/spl_token/spl_token_instruction.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct InitializeAccount3Layout { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReallocateLayout` is never constructed [INFO] [stdout] --> src/spl_token/spl_token_instruction.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ReallocateLayout {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTRUCTION_TYPE_INITIALIZE` is never used [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const INSTRUCTION_TYPE_INITIALIZE: &str = "initialize"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTRUCTION_TYPE_INITIALIZE2` is never used [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const INSTRUCTION_TYPE_INITIALIZE2: &str = "initialize2"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwapBaseInLog` is never constructed [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SwapBaseInLog { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwapBaseOutLog` is never constructed [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SwapBaseOutLog { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwapEvent` is never constructed [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct SwapEvent { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_logs` is never used [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn parse_logs(log_messages: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_matching` is never used [INFO] [stdout] --> src/swap/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn is_matching(amount_in: u64, amount_out: u64, amount0: &String, amount1: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CREATE_DISCRIMINATOR` is never used [INFO] [stdout] --> src/swap/dapps/dapp_6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const CREATE_DISCRIMINATOR: u64 = u64::from_le_bytes([24, 30, 200, 40, 5, 28, 7, 119]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_sol_stable_coin_trade` is never used [INFO] [stdout] --> src/utils.rs:494:8 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn find_sol_stable_coin_trade(data: &Vec) -> Option<&TradeData> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8; // Rdydium pool v4 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_675k_px9_mhtj_s2zt1qfr1_nyhuze_lxf_qm9_h24w_fsut1_mp8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod dapp_6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_6_ef8rrecth_r5_dkzon8_nwu78h_rvf_ckub_j14_m5u_bew_f6_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK; // Rdydium CAMM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_cammczo5_yl8w4_vff8_kvhr_k22_ggusp5_vta_w7grr_kgr_wq_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod dapp_CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_cpmmoo8_l3_f4_nb_teg_bckvnungg_l7_h1_zpd_thkx_qb5q_kp1_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_eo7_wj_kq67rj_jqszx_s6z3_ykapz_y3e_mj6_xy8_x5_eqvn5_ua_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_lbuzkh_rx_pf3_xup_bcjp4_yz_tkg_lccj_zh_tsdm9_yu_va_pwxo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod dapp_MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_moon_cvvnzfsykq_nxp6bx_hlpl6_qqji_mag_dl3qcq_uqtr_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc` should have a snake case name [INFO] [stdout] --> src/pool_creations/dapps/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod dapp_whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_whir_lb_miic_vdio4qv_uf_m5_kag6_ct8_vwp_yz_gff3ucty_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pool_creations/dapps/dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | _ => "Unknown".parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `initialize` should have an upper case name [INFO] [stdout] --> src/pool_creations/dapps/dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const initialize: u64 = u64::from_le_bytes([7, 166, 138, 171, 206, 171, 236, 244]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 4 - const initialize: u64 = u64::from_le_bytes([7, 166, 138, 171, 206, 171, 236, 244]); [INFO] [stdout] 4 + const INITIALIZE: u64 = u64::from_le_bytes([7, 166, 138, 171, 206, 171, 236, 244]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `initialize` should have an upper case name [INFO] [stdout] --> src/pool_creations/dapps/dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | initialize => { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `INITIALIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/spl_token/spl_token_instruction.rs:124:79 [INFO] [stdout] | [INFO] [stdout] 124 | initialize_mint_args = InitializeMintLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/spl_token/spl_token_instruction.rs:188:81 [INFO] [stdout] | [INFO] [stdout] 188 | transfer_checked_args = TransferCheckedLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/spl_token/spl_token_instruction.rs:218:80 [INFO] [stdout] | [INFO] [stdout] 218 | initialize_mint2args = InitializeMint2Layout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `useMethod` should have a snake case name [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub useMethod: UseMethodLayout, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `use_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `sellerFeeBasisPoints` should have a snake case name [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | pub sellerFeeBasisPoints: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `seller_fee_basis_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `primarySaleHappened` should have a snake case name [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | pub primarySaleHappened: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `primary_sale_happened` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isMutable` should have a snake case name [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | pub isMutable: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `is_mutable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenStandard` should have a snake case name [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | pub tokenStandard: TokenStandardLayout, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_standard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `collectionDetails` should have a snake case name [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | pub collectionDetails: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `collection_details` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ruleSet` should have a snake case name [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | pub ruleSet: Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `rule_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/spl_token/spl_token_meta_instruction.rs:452:31 [INFO] [stdout] | [INFO] [stdout] 452 | let rest_bytes = &mut rest.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod dapp_675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8; // Rdydium pool v4 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_675k_px9_mhtj_s2zt1qfr1_nyhuze_lxf_qm9_h24w_fsut1_mp8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod dapp_6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_6_ef8rrecth_r5_dkzon8_nwu78h_rvf_ckub_j14_m5u_bew_f6_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod dapp_CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK; // Rdydium CAMM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_cammczo5_yl8w4_vff8_kvhr_k22_ggusp5_vta_w7grr_kgr_wq_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod dapp_CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_cpmmoo8_l3_f4_nb_teg_bckvnungg_l7_h1_zpd_thkx_qb5q_kp1_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod dapp_Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_eo7_wj_kq67rj_jqszx_s6z3_ykapz_y3e_mj6_xy8_x5_eqvn5_ua_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod dapp_LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_lbuzkh_rx_pf3_xup_bcjp4_yz_tkg_lccj_zh_tsdm9_yu_va_pwxo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod dapp_MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_moon_cvvnzfsykq_nxp6bx_hlpl6_qqji_mag_dl3qcq_uqtr_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dapp_whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc` should have a snake case name [INFO] [stdout] --> src/swap/dapps/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod dapp_whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dapp_whir_lb_miic_vdio4qv_uf_m5_kag6_ct8_vwp_yz_gff3ucty_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:206:81 [INFO] [stdout] | [INFO] [stdout] 206 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:213:81 [INFO] [stdout] | [INFO] [stdout] 213 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:232:81 [INFO] [stdout] | [INFO] [stdout] 232 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:239:81 [INFO] [stdout] | [INFO] [stdout] 239 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:292:81 [INFO] [stdout] | [INFO] [stdout] 292 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:299:81 [INFO] [stdout] | [INFO] [stdout] 299 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:318:81 [INFO] [stdout] | [INFO] [stdout] 318 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:325:81 [INFO] [stdout] | [INFO] [stdout] 325 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:379:81 [INFO] [stdout] | [INFO] [stdout] 379 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:387:81 [INFO] [stdout] | [INFO] [stdout] 387 | ... let data = TransferLayout::deserialize(&mut rest.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `solana-substreams-dex` (lib test) due to 1 previous error; 153 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ba9004a51c33d4f919abdbc2149ac18d0b78fbde48a751208d10db0a83c69d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba9004a51c33d4f919abdbc2149ac18d0b78fbde48a751208d10db0a83c69d68", kill_on_drop: false }` [INFO] [stdout] ba9004a51c33d4f919abdbc2149ac18d0b78fbde48a751208d10db0a83c69d68