[INFO] cloning repository https://github.com/interlinker0325/pumpfun-raydium-sniper-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/interlinker0325/pumpfun-raydium-sniper-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finterlinker0325%2Fpumpfun-raydium-sniper-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finterlinker0325%2Fpumpfun-raydium-sniper-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d17022da708cc1028710e4e34bd1fd5ebb48d92 [INFO] testing interlinker0325/pumpfun-raydium-sniper-bot against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finterlinker0325%2Fpumpfun-raydium-sniper-bot" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/interlinker0325/pumpfun-raydium-sniper-bot [INFO] finished tweaking git repo https://github.com/interlinker0325/pumpfun-raydium-sniper-bot [INFO] tweaked toml for git repo https://github.com/interlinker0325/pumpfun-raydium-sniper-bot written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/interlinker0325/pumpfun-raydium-sniper-bot on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/interlinker0325/pumpfun-raydium-sniper-bot 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c99a378c3f6708ec2d41195066eff4eaef98372b3d32ce4a76acb9b63d9e643 [INFO] running `Command { std: "docker" "start" "-a" "4c99a378c3f6708ec2d41195066eff4eaef98372b3d32ce4a76acb9b63d9e643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c99a378c3f6708ec2d41195066eff4eaef98372b3d32ce4a76acb9b63d9e643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c99a378c3f6708ec2d41195066eff4eaef98372b3d32ce4a76acb9b63d9e643", kill_on_drop: false }` [INFO] [stdout] 4c99a378c3f6708ec2d41195066eff4eaef98372b3d32ce4a76acb9b63d9e643 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac60fdc7766bdf4c9d5181e9e7fd54f1d21fb23218303ffba03477dd2364893f [INFO] running `Command { std: "docker" "start" "-a" "ac60fdc7766bdf4c9d5181e9e7fd54f1d21fb23218303ffba03477dd2364893f", kill_on_drop: false }` [INFO] [stderr] Compiling raydium-pump-snipe-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `common` [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod common; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `common`, create file "src/common.rs" or "src/common/mod.rs" [INFO] [stdout] = note: if there is a `mod common` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `core` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod core; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `core`, create file "src/core.rs" or "src/core/mod.rs" [INFO] [stdout] = note: if there is a `mod core` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `meteora` [INFO] [stdout] --> src/dex/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod meteora; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `meteora`, create file "src/dex/meteora.rs" or "src/dex/meteora/mod.rs" [INFO] [stdout] = note: if there is a `mod meteora` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `orca` [INFO] [stdout] --> src/dex/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod orca; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `orca`, create file "src/dex/orca.rs" or "src/dex/orca/mod.rs" [INFO] [stdout] = note: if there is a `mod orca` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `helius` [INFO] [stdout] --> src/engine/monitor/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod helius; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `helius`, create file "src/engine/monitor/helius.rs" or "src/engine/monitor/helius/mod.rs" [INFO] [stdout] = note: if there is a `mod helius` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `yellowstone` [INFO] [stdout] --> src/engine/monitor/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod yellowstone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `yellowstone`, create file "src/engine/monitor/yellowstone.rs" or "src/engine/monitor/yellowstone/mod.rs" [INFO] [stdout] = note: if there is a `mod yellowstone` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `swap` [INFO] [stdout] --> src/engine/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod swap; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `swap`, create file "src/engine/swap.rs" or "src/engine/swap/mod.rs" [INFO] [stdout] = note: if there is a `mod swap` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `jito` [INFO] [stdout] --> src/services/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod jito; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `jito`, create file "src/services/jito.rs" or "src/services/jito/mod.rs" [INFO] [stdout] = note: if there is a `mod jito` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `nextblock` [INFO] [stdout] --> src/services/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod nextblock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `nextblock`, create file "src/services/nextblock.rs" or "src/services/nextblock/mod.rs" [INFO] [stdout] = note: if there is a `mod nextblock` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/dex/pump_fun.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{anyhow, Context, Result}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> src/dex/pump_fun.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use borsh::from_slice; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `raydium_amm` [INFO] [stdout] --> src/dex/pump_fun.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use raydium_amm::math::U128; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `raydium_amm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `raydium_amm`, use `cargo add raydium_amm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh_derive` [INFO] [stdout] --> src/dex/pump_fun.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use borsh_derive::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `borsh_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh_derive`, use `cargo add borsh_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_sdk` [INFO] [stdout] --> src/dex/pump_fun.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use solana_sdk::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `solana_sdk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_sdk`, use `cargo add solana_sdk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/dex/pump_fun.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_sdk` [INFO] [stdout] --> src/dex/pump_fun.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use solana_sdk::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `solana_sdk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_sdk`, use `cargo add solana_sdk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spl_associated_token_account` [INFO] [stdout] --> src/dex/pump_fun.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use spl_associated_token_account::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spl_associated_token_account` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spl_associated_token_account`, use `cargo add spl_associated_token_account` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spl_associated_token_account` [INFO] [stdout] --> src/dex/pump_fun.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use spl_associated_token_account::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spl_associated_token_account` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spl_associated_token_account`, use `cargo add spl_associated_token_account` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spl_token_client` [INFO] [stdout] --> src/dex/pump_fun.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use spl_token_client::token::TokenError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spl_token_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spl_token_client`, use `cargo add spl_token_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spl_token` [INFO] [stdout] --> src/dex/pump_fun.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use spl_token::{amount_to_ui_amount, ui_amount_to_amount}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spl_token`, use `cargo add spl_token` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `amm_cli` [INFO] [stdout] --> src/dex/raydium.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use amm_cli::AmmSwapInfoResult; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `amm_cli` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amm_cli`, use `cargo add amm_cli` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/dex/raydium.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow::{anyhow, Context, Result}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `raydium_amm` [INFO] [stdout] --> src/dex/raydium.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use raydium_amm::state::{AmmInfo, Loadable}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `raydium_amm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `raydium_amm`, use `cargo add raydium_amm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytemuck` [INFO] [stdout] --> src/dex/raydium.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use bytemuck; [INFO] [stdout] | ^^^^^^^^ no external crate `bytemuck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> src/dex/raydium.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use reqwest::Proxy; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] --> src/dex/raydium.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use solana_client::rpc_filter::{Memcmp, RpcFilterType}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_client`, use `cargo add solana_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_sdk` [INFO] [stdout] --> src/dex/raydium.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use solana_sdk::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `solana_sdk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_sdk`, use `cargo add solana_sdk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/dex/raydium.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spl_associated_token_account` [INFO] [stdout] --> src/dex/raydium.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use spl_associated_token_account::instruction::create_associated_token_account; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spl_associated_token_account` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spl_associated_token_account`, use `cargo add spl_associated_token_account` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_sdk` [INFO] [stdout] --> src/dex/raydium.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use solana_sdk::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `solana_sdk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_sdk`, use `cargo add solana_sdk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] --> src/dex/raydium.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use spl_token::{amount_to_ui_amount, state::Account, ui_amount_to_amount}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spl_token`, use `cargo add spl_token` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spl_token_client` [INFO] [stdout] --> src/dex/raydium.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use spl_token_client::token::TokenError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spl_token_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spl_token_client`, use `cargo add spl_token_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spl_token` [INFO] [stdout] --> src/dex/raydium.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use spl_token::{amount_to_ui_amount, state::Account, ui_amount_to_amount}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spl_token`, use `cargo add spl_token` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/dex/raydium.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[serde(rename = "programId")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/dex/raydium.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[serde(rename = "mintA")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/dex/raydium.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[serde(rename = "mintB")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/dex/raydium.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[serde(rename = "marketId")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] --> src/dex/pump_fun.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | pub rpc_nonblocking_client: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_client`, use `cargo add solana_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] --> src/dex/pump_fun.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | pub rpc_client: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_client`, use `cargo add solana_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] --> src/dex/pump_fun.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | rpc_nonblocking_client: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_client`, use `cargo add solana_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] --> src/dex/pump_fun.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | rpc_client: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_client`, use `cargo add solana_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] --> src/dex/pump_fun.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | let native_mint = spl_token::native_mint::ID; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spl_token`, use `cargo add spl_token` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] --> src/dex/pump_fun.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | rpc_client: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_client`, use `cargo add solana_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] --> src/dex/pump_fun.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | rpc_client: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_client`, use `cargo add solana_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] --> src/dex/raydium.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | pub rpc_nonblocking_client: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_client`, use `cargo add solana_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] --> src/dex/raydium.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | pub rpc_client: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_client`, use `cargo add solana_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] --> src/dex/raydium.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | rpc_nonblocking_client: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_client`, use `cargo add solana_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] --> src/dex/raydium.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | rpc_client: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_client`, use `cargo add solana_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `chrono` [INFO] [stdout] --> src/dex/raydium.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | chrono::Utc::now().timestamp() [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] --> src/dex/raydium.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | let native_mint = spl_token::native_mint::ID; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spl_token`, use `cargo add spl_token` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `raydium_amm` [INFO] [stdout] --> src/dex/raydium.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | raydium_amm::instruction::swap_base_in( [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `raydium_amm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `raydium_amm`, use `cargo add raydium_amm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `raydium_amm` [INFO] [stdout] --> src/dex/raydium.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | raydium_amm::instruction::swap_base_out( [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `raydium_amm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `raydium_amm`, use `cargo add raydium_amm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] --> src/dex/raydium.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | rpc_client: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_client`, use `cargo add solana_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> src/dex/raydium.rs:216:25 [INFO] [stdout] | [INFO] [stdout] 216 | let pool_data = common::rpc::get_account(&rpc_client, &amm_pool_id)? [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] --> src/dex/raydium.rs:227:40 [INFO] [stdout] | [INFO] [stdout] 227 | let pool_data = get_pool_info(&spl_token::native_mint::ID.to_string(), mint).await; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spl_token`, use `cargo add spl_token` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> src/dex/raydium.rs:234:29 [INFO] [stdout] | [INFO] [stdout] 234 | let pool_data = common::rpc::get_account(&rpc_client, &amm_pool_id)? [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] --> src/dex/raydium.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | rpc_client: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `solana_client`, use `cargo add solana_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] --> src/dex/raydium.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | Some(spl_token::native_mint::ID), [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spl_token`, use `cargo add spl_token` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] --> src/dex/raydium.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | Some(spl_token::native_mint::ID), [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spl_token`, use `cargo add spl_token` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `common` [INFO] [stdout] --> src/dex/raydium.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | common::rpc::get_program_accounts_with_filters(&rpc_client, amm_program, filters) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `common` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `common`, use `cargo add common` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> src/dex/raydium.rs:313:30 [INFO] [stdout] | [INFO] [stdout] 313 | let mut client_builder = reqwest::Client::builder(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/dex/pump_fun.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | &client, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `instructions` in this scope [INFO] [stdout] --> src/dex/pump_fun.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | instructions, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/dex/raydium.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | &client, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `instructions` in this scope [INFO] [stdout] --> src/dex/raydium.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | instructions, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/dex/pump_fun.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{str::FromStr, sync::Arc}; [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: `str::FromStr` [INFO] [stdout] --> src/dex/raydium.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | use std::{str::FromStr, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] --> src/dex/pump_fun.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let program_id = spl_token::ID; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spl_token`, use `cargo add spl_token` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] --> src/dex/raydium.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | let program_id = spl_token::ID; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `spl_token` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spl_token`, use `cargo add spl_token` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raydium-pump-snipe-bot` (lib) due to 67 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ac60fdc7766bdf4c9d5181e9e7fd54f1d21fb23218303ffba03477dd2364893f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac60fdc7766bdf4c9d5181e9e7fd54f1d21fb23218303ffba03477dd2364893f", kill_on_drop: false }` [INFO] [stdout] ac60fdc7766bdf4c9d5181e9e7fd54f1d21fb23218303ffba03477dd2364893f