[INFO] cloning repository https://github.com/Blockbrainers/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/Blockbrainers/sniper_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlockbrainers%2Fsniper_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlockbrainers%2Fsniper_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c71c8f13f918fdae8c2f8469cd5cbfb07248d69e [INFO] checking Blockbrainers/sniper_bot against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlockbrainers%2Fsniper_bot" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Blockbrainers/sniper_bot on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Blockbrainers/sniper_bot [INFO] finished tweaking git repo https://github.com/Blockbrainers/sniper_bot [INFO] tweaked toml for git repo https://github.com/Blockbrainers/sniper_bot written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Blockbrainers/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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ethers v2.0.11 [INFO] [stderr] Downloaded svm-rs v0.3.3 [INFO] [stderr] Downloaded scale-info-derive v2.10.0 [INFO] [stderr] Downloaded solang-parser v0.3.3 [INFO] [stderr] Downloaded scale-info v2.10.0 [INFO] [stderr] Downloaded ethers-flashbots v0.14.0 [INFO] [stderr] Downloaded ethers-addressbook v2.0.11 [INFO] [stderr] Downloaded enr v0.9.1 [INFO] [stderr] Downloaded futures-locks v0.7.1 [INFO] [stderr] Downloaded ethers-contract-derive v2.0.11 [INFO] [stderr] Downloaded ethers-signers v2.0.11 [INFO] [stderr] Downloaded ethers-contract-abigen v2.0.11 [INFO] [stderr] Downloaded winnow v0.5.30 [INFO] [stderr] Downloaded ethers-core v2.0.11 [INFO] [stderr] Downloaded ethers-solc v2.0.11 [INFO] [stderr] Downloaded ethers-contract v2.0.11 [INFO] [stderr] Downloaded ethers-etherscan v2.0.11 [INFO] [stderr] Downloaded ethers-middleware v2.0.11 [INFO] [stderr] Downloaded ethers-providers v2.0.11 [INFO] [stderr] Downloaded eth-keystore v0.5.0 [INFO] [stderr] Downloaded const-hex v1.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fe3f0ec58fd748d443306da597846402be3371463140330a96e3ddd433a369f [INFO] running `Command { std: "docker" "start" "-a" "4fe3f0ec58fd748d443306da597846402be3371463140330a96e3ddd433a369f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fe3f0ec58fd748d443306da597846402be3371463140330a96e3ddd433a369f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe3f0ec58fd748d443306da597846402be3371463140330a96e3ddd433a369f", kill_on_drop: false }` [INFO] [stdout] 4fe3f0ec58fd748d443306da597846402be3371463140330a96e3ddd433a369f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e59cb04dc8c3cac05c52f431e91629251694d824b80310b55939b16f9568839 [INFO] running `Command { std: "docker" "start" "-a" "8e59cb04dc8c3cac05c52f431e91629251694d824b80310b55939b16f9568839", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling winnow v0.5.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.89 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling const-hex v1.10.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling eyre v0.6.11 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling webpki-roots v0.25.3 [INFO] [stderr] Compiling k256 v0.13.2 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling bs58 v0.5.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.89 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling hashers v1.0.1 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling futures-locks v0.7.1 [INFO] [stderr] Compiling anyhow v1.0.76 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.89 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling auto_impl v1.1.0 [INFO] [stderr] Checking js-sys v0.3.66 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking cargo-platform v0.1.5 [INFO] [stderr] Checking semver v1.0.20 [INFO] [stderr] Checking serde_spanned v0.6.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking coins-core v0.8.7 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking toml_edit v0.20.2 [INFO] [stderr] Checking coins-bip32 v0.8.7 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking enr v0.9.1 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking coins-bip39 v0.8.7 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Checking eth-keystore v0.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-crate v2.0.1 [INFO] [stderr] Compiling scale-info-derive v2.10.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.9 [INFO] [stderr] Compiling num_enum_derive v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling num_enum v0.7.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling parity-scale-codec v3.6.9 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking scale-info v2.10.0 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking open-fastrlp v0.1.4 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking ethers-core v2.0.11 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking ethers-providers v2.0.11 [INFO] [stderr] Checking ethers-contract-abigen v2.0.11 [INFO] [stderr] Checking ethers-signers v2.0.11 [INFO] [stderr] Checking ethers-etherscan v2.0.11 [INFO] [stderr] Checking ethers-addressbook v2.0.11 [INFO] [stderr] Compiling ethers-contract-derive v2.0.11 [INFO] [stderr] Compiling ethers-contract v2.0.11 [INFO] [stderr] Compiling ethers-middleware v2.0.11 [INFO] [stderr] Compiling ethers v2.0.11 [INFO] [stderr] Compiling sniper_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ethers-flashbots v0.14.0 [INFO] [stderr] error: failed to run custom build command for `sniper_bot v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/sniper_bot-68fb75aa864db165/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] Building ethers contract [INFO] [stderr] cargo:rerun-if-changed=./abis/*.json [INFO] [stderr] cargo:rerun-if-changed=/opt/rustwide/workdir/abis/Erc20.json [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at build.rs:30:10: [INFO] [stderr] could not write bindings to file: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5593d55660c5 - std::backtrace_rs::backtrace::libunwind::trace::hb0d415bcff8c04ff [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5 [INFO] [stderr] 1: 0x5593d55660c5 - std::backtrace_rs::backtrace::trace_unsynchronized::hd3beb7af6a65b2fb [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x5593d55660c5 - std::sys_common::backtrace::_print_fmt::hb94d89680d7f5d1c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stderr] 3: 0x5593d55660c5 - ::fmt::h42d21e2ba62fd274 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stderr] 4: 0x5593d558c05b - core::fmt::rt::Argument::fmt::h8932bbbd2b9c37fe [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/fmt/rt.rs:142:9 [INFO] [stderr] 5: 0x5593d558c05b - core::fmt::write::h672f14b769052340 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/fmt/mod.rs:1153:17 [INFO] [stderr] 6: 0x5593d5563d2f - std::io::Write::write_fmt::h4d626b1d019eca5c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/io/mod.rs:1843:15 [INFO] [stderr] 7: 0x5593d5565e9e - std::sys_common::backtrace::_print::h745e446c2e03c5ca [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stderr] 8: 0x5593d5565e9e - std::sys_common::backtrace::print::hf0f0fa4fb70dca2c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stderr] 9: 0x5593d55674a9 - std::panicking::default_hook::{{closure}}::h607769b198639ae5 [INFO] [stderr] 10: 0x5593d5567213 - std::panicking::default_hook::h1e5811a5a9298ba1 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:292:9 [INFO] [stderr] 11: 0x5593d5567944 - std::panicking::rust_panic_with_hook::hd0c5dc40875c06ef [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:789:13 [INFO] [stderr] 12: 0x5593d5567826 - std::panicking::begin_panic_handler::{{closure}}::hde3f6d4bced89f43 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:658:13 [INFO] [stderr] 13: 0x5593d5566589 - std::sys_common::backtrace::__rust_end_short_backtrace::h88e846e54ebde2e3 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stderr] 14: 0x5593d5567557 - rust_begin_unwind [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:646:5 [INFO] [stderr] 15: 0x5593d51cacc6 - core::panicking::panic_fmt::h5ffad3fb9ad671e0 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/panicking.rs:72:14 [INFO] [stderr] 16: 0x5593d51cb1f6 - core::result::unwrap_failed::hb58638a1c26ab909 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/result.rs:1654:5 [INFO] [stderr] 17: 0x5593d553f0f3 - core::result::Result::expect::ha9951854c5fc39be [INFO] [stderr] 18: 0x5593d51ccb35 - build_script_build::bindgen::h480a752f6c6db8cc [INFO] [stderr] 19: 0x5593d51cc7f7 - build_script_build::main::h3f041ef231cb80d1 [INFO] [stderr] 20: 0x5593d51cbf93 - core::ops::function::FnOnce::call_once::hcd99cdd1ab59253a [INFO] [stderr] 21: 0x5593d51cbd76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h9e4f466ecfa20948 [INFO] [stderr] 22: 0x5593d51cbdc9 - std::rt::lang_start::{{closure}}::hb38fd4189f80b54e [INFO] [stderr] 23: 0x5593d5560001 - core::ops::function::impls:: for &F>::call_once::hf24a18568366726b [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 24: 0x5593d5560001 - std::panicking::try::do_call::hfe98fb6a5c700fa1 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:553:40 [INFO] [stderr] 25: 0x5593d5560001 - std::panicking::try::h887aaa509ba266ad [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:517:19 [INFO] [stderr] 26: 0x5593d5560001 - std::panic::catch_unwind::hdb24f00ea5a307a8 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panic.rs:146:14 [INFO] [stderr] 27: 0x5593d5560001 - std::rt::lang_start_internal::{{closure}}::hacbffc0b2f55d28c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/rt.rs:148:48 [INFO] [stderr] 28: 0x5593d5560001 - std::panicking::try::do_call::hc810c59098be8c17 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:553:40 [INFO] [stderr] 29: 0x5593d5560001 - std::panicking::try::h0d072b82be5f3f03 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:517:19 [INFO] [stderr] 30: 0x5593d5560001 - std::panic::catch_unwind::hb0e7e36556665803 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panic.rs:146:14 [INFO] [stderr] 31: 0x5593d5560001 - std::rt::lang_start_internal::h4207974af80a0725 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/rt.rs:148:20 [INFO] [stderr] 32: 0x5593d51cbda7 - std::rt::lang_start::he13e6fe3f9128b81 [INFO] [stderr] 33: 0x5593d51ccd35 - main [INFO] [stderr] 34: 0x7f2201a38d90 - [INFO] [stderr] 35: 0x7f2201a38e40 - __libc_start_main [INFO] [stderr] 36: 0x5593d51cb615 - _start [INFO] [stderr] 37: 0x0 - [INFO] running `Command { std: "docker" "inspect" "8e59cb04dc8c3cac05c52f431e91629251694d824b80310b55939b16f9568839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e59cb04dc8c3cac05c52f431e91629251694d824b80310b55939b16f9568839", kill_on_drop: false }` [INFO] [stdout] 8e59cb04dc8c3cac05c52f431e91629251694d824b80310b55939b16f9568839 [INFO] checking Blockbrainers/sniper_bot against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlockbrainers%2Fsniper_bot" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Blockbrainers/sniper_bot on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Blockbrainers/sniper_bot [INFO] finished tweaking git repo https://github.com/Blockbrainers/sniper_bot [INFO] tweaked toml for git repo https://github.com/Blockbrainers/sniper_bot written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Blockbrainers/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e232d6b436c530bd77aa3cc12cfabb506fe2e586aa4272f2445780b6dbaec5ac [INFO] running `Command { std: "docker" "start" "-a" "e232d6b436c530bd77aa3cc12cfabb506fe2e586aa4272f2445780b6dbaec5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e232d6b436c530bd77aa3cc12cfabb506fe2e586aa4272f2445780b6dbaec5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e232d6b436c530bd77aa3cc12cfabb506fe2e586aa4272f2445780b6dbaec5ac", kill_on_drop: false }` [INFO] [stdout] e232d6b436c530bd77aa3cc12cfabb506fe2e586aa4272f2445780b6dbaec5ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d17f61b133f2e11184ba3e7ab1e68f06f09d3084399b9e489ea0752a2002482 [INFO] running `Command { std: "docker" "start" "-a" "8d17f61b133f2e11184ba3e7ab1e68f06f09d3084399b9e489ea0752a2002482", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling winnow v0.5.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.89 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling const-hex v1.10.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling eyre v0.6.11 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling k256 v0.13.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling webpki-roots v0.25.3 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling bs58 v0.5.0 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.89 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling hashers v1.0.1 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling futures-locks v0.7.1 [INFO] [stderr] Compiling anyhow v1.0.76 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.89 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling auto_impl v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling js-sys v0.3.66 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking semver v1.0.20 [INFO] [stderr] Checking cargo-platform v0.1.5 [INFO] [stderr] Checking serde_spanned v0.6.4 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking coins-core v0.8.7 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking toml_edit v0.20.2 [INFO] [stderr] Checking coins-bip32 v0.8.7 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking enr v0.9.1 [INFO] [stderr] Checking coins-bip39 v0.8.7 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Checking eth-keystore v0.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-crate v2.0.1 [INFO] [stderr] Compiling scale-info-derive v2.10.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.9 [INFO] [stderr] Compiling num_enum_derive v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling num_enum v0.7.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling parity-scale-codec v3.6.9 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Checking scale-info v2.10.0 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking open-fastrlp v0.1.4 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Checking ethers-core v2.0.11 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking ethers-providers v2.0.11 [INFO] [stderr] Checking ethers-contract-abigen v2.0.11 [INFO] [stderr] Checking ethers-etherscan v2.0.11 [INFO] [stderr] Checking ethers-signers v2.0.11 [INFO] [stderr] Checking ethers-addressbook v2.0.11 [INFO] [stderr] Compiling ethers-contract-derive v2.0.11 [INFO] [stderr] Compiling ethers-contract v2.0.11 [INFO] [stderr] Compiling ethers-middleware v2.0.11 [INFO] [stderr] Checking ethers v2.0.11 [INFO] [stderr] Checking ethers-flashbots v0.14.0 [INFO] [stderr] Compiling sniper_bot v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/trading/sell.rs (1 fix) [INFO] [stderr] Fixed src/listeners/swaps_listener.rs (1 fix) [INFO] [stderr] Fixed src/analysis/score_calculator.rs (1 fix) [INFO] [stderr] Fixed src/analysis/amount_in_calculator.rs (1 fix) [INFO] [stderr] Fixed src/listeners/mempool_swap_listener.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Fixed src/trading/balance.rs (1 fix) [INFO] [stderr] Fixed src/models/processed_trade.rs (2 fixes) [INFO] [stderr] Fixed src/trading/buy.rs (1 fix) [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/models/processed_trade.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/trading/buy.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Address` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U256` is imported redundantly [INFO] [stdout] --> src/trading/buy.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `U256` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Middleware` is imported redundantly [INFO] [stdout] --> src/trading/buy.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Middleware` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, [INFO] [stdout] 12 | utils::parse_ether, providers::Middleware, core::k256::{ecdsa::SigningKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/trading/sell.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Address` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, providers::Middleware, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U256` is imported redundantly [INFO] [stdout] --> src/trading/sell.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `U256` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, providers::Middleware, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Middleware` is imported redundantly [INFO] [stdout] --> src/trading/sell.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Middleware` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, providers::Middleware, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_address` [INFO] [stdout] --> src/listeners/mempool_swap_listener.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | token_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/models/config_models.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct NetworkMetadata { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 17 | pub name: String, [INFO] [stdout] 18 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkMetadata` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TokenSecurityDetails { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub can_take_back_ownership: Option,// "0" or "1" as string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub creator_address: Option, // Address as string [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub creator_balance: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub creator_percent: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub lp_holder_count: Option, // Integer as i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub owner_address: Option, // Address as string [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub owner_balance: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub token_name: Option, // String [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | pub token_symbol: Option, // String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | pub total_supply: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenSecurityDetails` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `liquidity_type` and `pair` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct DexInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 52 | pub liquidity_type: Option, // String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub pair: Option, // Address as string [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DexInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `tag`, `is_contract`, `balance`, and `is_locked` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct HolderInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | pub address: Option, // Address as string [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | pub tag: Option, // String [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | pub is_contract: Option, // "0" or "1" as integer [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 63 | pub balance: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 64 | pub percent: Option, // Decimal as String [INFO] [stdout] 65 | pub is_locked: Option, // "0" or "1" as integer [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HolderInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct LPHolderInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 70 | pub address: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 71 | pub locked: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 72 | pub tag: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | pub is_contract: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | pub balance: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | pub percent: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 76 | pub NFT_list: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 77 | pub locked_detail: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LPHolderInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount`, `end_time`, and `opt_time` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct LockDetail { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 82 | pub amount: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub end_time: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 84 | pub opt_time: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LockDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `NFT_id`, `amount`, `in_effect`, and `NFT_percentage` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct NFTDetail { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 89 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | pub NFT_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | pub amount: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 92 | pub in_effect: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | pub NFT_percentage: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NFTDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `true_token_address` and `value` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct FakeTokenInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 98 | pub true_token_address: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 99 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FakeTokenInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_position`, `closed_position`, and `write_csv` are never used [INFO] [stdout] --> src/models/processed_trade.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl ProcessedTrade { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn open_position(&mut self, amount: f64, security_score: f64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn closed_position(&mut self, amount_sold: f64, profit_or_loss: f64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn write_csv(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_file_empty` is never used [INFO] [stdout] --> src/models/processed_trade.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn is_file_empty(file_path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_i32_field` is never used [INFO] [stdout] --> src/utils/formatter.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_i32_field(field: &Option) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_csv` is never used [INFO] [stdout] --> src/utils/csv_manager.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn write_csv(data: ProcessedTrade, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_csv` is never used [INFO] [stdout] --> src/utils/csv_manager.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn update_csv(data: ProcessedTrade, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_token_balance` is never used [INFO] [stdout] --> src/trading/balance.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn get_token_balance(rpc_url: &str, wallet_address: H160, token_address: H160) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sell_token` is never used [INFO] [stdout] --> src/trading/sell.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn sell_token( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sell_v2` is never used [INFO] [stdout] --> src/trading/sell.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | async fn sell_v2( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sell_v3` is never used [INFO] [stdout] --> src/trading/sell.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | async fn sell_v3( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NFT_list` should have a snake case name [INFO] [stdout] --> src/models/token_api_response_models.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub NFT_list: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `nft_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NFT_id` should have a snake case name [INFO] [stdout] --> src/models/token_api_response_models.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub NFT_id: Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `nft_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NFT_percentage` should have a snake case name [INFO] [stdout] --> src/models/token_api_response_models.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub NFT_percentage: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nft_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/analysis/processor.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | listen_to_mempool_swaps(&network_metadata_clone2, &exchange_clone2, token_to_assess_clone2, pair_or_pool_clone2).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = listen_to_mempool_swaps(&network_metadata_clone2, &exchange_clone2, token_to_assess_clone2, pair_or_pool_clone2).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/analysis/processor.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | trade.canceled(TradeSubStatus::FailedSecurityCheck); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = trade.canceled(TradeSubStatus::FailedSecurityCheck); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/models/processed_trade.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/trading/buy.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Address` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U256` is imported redundantly [INFO] [stdout] --> src/trading/buy.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `U256` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Middleware` is imported redundantly [INFO] [stdout] --> src/trading/buy.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Middleware` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, [INFO] [stdout] 12 | utils::parse_ether, providers::Middleware, core::k256::{ecdsa::SigningKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/trading/sell.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Address` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, providers::Middleware, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U256` is imported redundantly [INFO] [stdout] --> src/trading/sell.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `U256` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, providers::Middleware, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Middleware` is imported redundantly [INFO] [stdout] --> src/trading/sell.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Middleware` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, providers::Middleware, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_address` [INFO] [stdout] --> src/listeners/mempool_swap_listener.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | token_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/models/config_models.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct NetworkMetadata { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 17 | pub name: String, [INFO] [stdout] 18 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkMetadata` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TokenSecurityDetails { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub can_take_back_ownership: Option,// "0" or "1" as string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub creator_address: Option, // Address as string [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub creator_balance: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub creator_percent: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub lp_holder_count: Option, // Integer as i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub owner_address: Option, // Address as string [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub owner_balance: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub token_name: Option, // String [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | pub token_symbol: Option, // String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | pub total_supply: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenSecurityDetails` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `liquidity_type` and `pair` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct DexInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 52 | pub liquidity_type: Option, // String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub pair: Option, // Address as string [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DexInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `tag`, `is_contract`, `balance`, and `is_locked` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct HolderInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | pub address: Option, // Address as string [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | pub tag: Option, // String [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | pub is_contract: Option, // "0" or "1" as integer [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 63 | pub balance: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 64 | pub percent: Option, // Decimal as String [INFO] [stdout] 65 | pub is_locked: Option, // "0" or "1" as integer [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HolderInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct LPHolderInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 70 | pub address: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 71 | pub locked: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 72 | pub tag: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | pub is_contract: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | pub balance: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | pub percent: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 76 | pub NFT_list: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 77 | pub locked_detail: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LPHolderInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount`, `end_time`, and `opt_time` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct LockDetail { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 82 | pub amount: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub end_time: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 84 | pub opt_time: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LockDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `NFT_id`, `amount`, `in_effect`, and `NFT_percentage` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct NFTDetail { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 89 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | pub NFT_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | pub amount: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 92 | pub in_effect: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | pub NFT_percentage: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NFTDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `true_token_address` and `value` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct FakeTokenInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 98 | pub true_token_address: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 99 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FakeTokenInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_position`, `closed_position`, and `write_csv` are never used [INFO] [stdout] --> src/models/processed_trade.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl ProcessedTrade { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn open_position(&mut self, amount: f64, security_score: f64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn closed_position(&mut self, amount_sold: f64, profit_or_loss: f64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn write_csv(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_file_empty` is never used [INFO] [stdout] --> src/models/processed_trade.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn is_file_empty(file_path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_i32_field` is never used [INFO] [stdout] --> src/utils/formatter.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_i32_field(field: &Option) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_csv` is never used [INFO] [stdout] --> src/utils/csv_manager.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn write_csv(data: ProcessedTrade, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_csv` is never used [INFO] [stdout] --> src/utils/csv_manager.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn update_csv(data: ProcessedTrade, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_token_balance` is never used [INFO] [stdout] --> src/trading/balance.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn get_token_balance(rpc_url: &str, wallet_address: H160, token_address: H160) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sell_token` is never used [INFO] [stdout] --> src/trading/sell.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn sell_token( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sell_v2` is never used [INFO] [stdout] --> src/trading/sell.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | async fn sell_v2( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sell_v3` is never used [INFO] [stdout] --> src/trading/sell.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | async fn sell_v3( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NFT_list` should have a snake case name [INFO] [stdout] --> src/models/token_api_response_models.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub NFT_list: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `nft_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NFT_id` should have a snake case name [INFO] [stdout] --> src/models/token_api_response_models.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub NFT_id: Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `nft_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NFT_percentage` should have a snake case name [INFO] [stdout] --> src/models/token_api_response_models.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub NFT_percentage: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nft_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/analysis/processor.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | listen_to_mempool_swaps(&network_metadata_clone2, &exchange_clone2, token_to_assess_clone2, pair_or_pool_clone2).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = listen_to_mempool_swaps(&network_metadata_clone2, &exchange_clone2, token_to_assess_clone2, pair_or_pool_clone2).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/analysis/processor.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | trade.canceled(TradeSubStatus::FailedSecurityCheck); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = trade.canceled(TradeSubStatus::FailedSecurityCheck); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling sniper_bot v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/models/processed_trade.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/trading/buy.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Address` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U256` is imported redundantly [INFO] [stdout] --> src/trading/buy.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `U256` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Middleware` is imported redundantly [INFO] [stdout] --> src/trading/buy.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Middleware` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, [INFO] [stdout] 12 | utils::parse_ether, providers::Middleware, core::k256::{ecdsa::SigningKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/trading/sell.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Address` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, providers::Middleware, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U256` is imported redundantly [INFO] [stdout] --> src/trading/sell.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `U256` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, providers::Middleware, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Middleware` is imported redundantly [INFO] [stdout] --> src/trading/sell.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Middleware` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, providers::Middleware, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/models/processed_trade.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/trading/buy.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Address` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U256` is imported redundantly [INFO] [stdout] --> src/trading/buy.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `U256` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Middleware` is imported redundantly [INFO] [stdout] --> src/trading/buy.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Middleware` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, [INFO] [stdout] 12 | utils::parse_ether, providers::Middleware, core::k256::{ecdsa::SigningKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/trading/sell.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Address` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, providers::Middleware, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U256` is imported redundantly [INFO] [stdout] --> src/trading/sell.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `U256` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, providers::Middleware, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Middleware` is imported redundantly [INFO] [stdout] --> src/trading/sell.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::*, [INFO] [stdout] | ---------- the item `Middleware` is already imported here [INFO] [stdout] 11 | types::{Address, U256}, providers::Middleware, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_address` [INFO] [stdout] --> src/listeners/mempool_swap_listener.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | token_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_address` [INFO] [stdout] --> src/listeners/mempool_swap_listener.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | token_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/models/config_models.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct NetworkMetadata { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 17 | pub name: String, [INFO] [stdout] 18 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkMetadata` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TokenSecurityDetails { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub can_take_back_ownership: Option,// "0" or "1" as string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub creator_address: Option, // Address as string [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub creator_balance: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub creator_percent: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub lp_holder_count: Option, // Integer as i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub owner_address: Option, // Address as string [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub owner_balance: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub token_name: Option, // String [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | pub token_symbol: Option, // String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | pub total_supply: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenSecurityDetails` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `liquidity_type` and `pair` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct DexInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 52 | pub liquidity_type: Option, // String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub pair: Option, // Address as string [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DexInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `tag`, `is_contract`, `balance`, and `is_locked` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct HolderInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | pub address: Option, // Address as string [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | pub tag: Option, // String [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | pub is_contract: Option, // "0" or "1" as integer [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 63 | pub balance: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 64 | pub percent: Option, // Decimal as String [INFO] [stdout] 65 | pub is_locked: Option, // "0" or "1" as integer [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HolderInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct LPHolderInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 70 | pub address: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 71 | pub locked: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 72 | pub tag: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | pub is_contract: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | pub balance: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | pub percent: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 76 | pub NFT_list: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 77 | pub locked_detail: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LPHolderInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount`, `end_time`, and `opt_time` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct LockDetail { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 82 | pub amount: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub end_time: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 84 | pub opt_time: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LockDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `NFT_id`, `amount`, `in_effect`, and `NFT_percentage` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct NFTDetail { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 89 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | pub NFT_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | pub amount: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 92 | pub in_effect: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | pub NFT_percentage: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NFTDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `true_token_address` and `value` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct FakeTokenInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 98 | pub true_token_address: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 99 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FakeTokenInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_position`, `closed_position`, and `write_csv` are never used [INFO] [stdout] --> src/models/processed_trade.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl ProcessedTrade { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn open_position(&mut self, amount: f64, security_score: f64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn closed_position(&mut self, amount_sold: f64, profit_or_loss: f64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn write_csv(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_file_empty` is never used [INFO] [stdout] --> src/models/processed_trade.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn is_file_empty(file_path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_i32_field` is never used [INFO] [stdout] --> src/utils/formatter.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_i32_field(field: &Option) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_csv` is never used [INFO] [stdout] --> src/utils/csv_manager.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn write_csv(data: ProcessedTrade, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_csv` is never used [INFO] [stdout] --> src/utils/csv_manager.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn update_csv(data: ProcessedTrade, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_token_balance` is never used [INFO] [stdout] --> src/trading/balance.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn get_token_balance(rpc_url: &str, wallet_address: H160, token_address: H160) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sell_token` is never used [INFO] [stdout] --> src/trading/sell.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn sell_token( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sell_v2` is never used [INFO] [stdout] --> src/trading/sell.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | async fn sell_v2( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sell_v3` is never used [INFO] [stdout] --> src/trading/sell.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | async fn sell_v3( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/models/config_models.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct NetworkMetadata { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 17 | pub name: String, [INFO] [stdout] 18 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkMetadata` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TokenSecurityDetails { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub can_take_back_ownership: Option,// "0" or "1" as string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub creator_address: Option, // Address as string [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub creator_balance: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub creator_percent: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub lp_holder_count: Option, // Integer as i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub owner_address: Option, // Address as string [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub owner_balance: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub token_name: Option, // String [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | pub token_symbol: Option, // String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | pub total_supply: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenSecurityDetails` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `liquidity_type` and `pair` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct DexInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 52 | pub liquidity_type: Option, // String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub pair: Option, // Address as string [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DexInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `tag`, `is_contract`, `balance`, and `is_locked` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct HolderInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | pub address: Option, // Address as string [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | pub tag: Option, // String [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | pub is_contract: Option, // "0" or "1" as integer [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 63 | pub balance: Option, // Decimal as String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 64 | pub percent: Option, // Decimal as String [INFO] [stdout] 65 | pub is_locked: Option, // "0" or "1" as integer [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HolderInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct LPHolderInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 70 | pub address: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 71 | pub locked: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 72 | pub tag: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | pub is_contract: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | pub balance: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | pub percent: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 76 | pub NFT_list: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 77 | pub locked_detail: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LPHolderInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount`, `end_time`, and `opt_time` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct LockDetail { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 82 | pub amount: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub end_time: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 84 | pub opt_time: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LockDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `NFT_id`, `amount`, `in_effect`, and `NFT_percentage` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct NFTDetail { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 89 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | pub NFT_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | pub amount: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 92 | pub in_effect: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | pub NFT_percentage: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NFTDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `true_token_address` and `value` are never read [INFO] [stdout] --> src/models/token_api_response_models.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct FakeTokenInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 98 | pub true_token_address: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 99 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FakeTokenInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_position`, `closed_position`, and `write_csv` are never used [INFO] [stdout] --> src/models/processed_trade.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl ProcessedTrade { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn open_position(&mut self, amount: f64, security_score: f64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn closed_position(&mut self, amount_sold: f64, profit_or_loss: f64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn write_csv(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_file_empty` is never used [INFO] [stdout] --> src/models/processed_trade.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn is_file_empty(file_path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_i32_field` is never used [INFO] [stdout] --> src/utils/formatter.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_i32_field(field: &Option) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_csv` is never used [INFO] [stdout] --> src/utils/csv_manager.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn write_csv(data: ProcessedTrade, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_csv` is never used [INFO] [stdout] --> src/utils/csv_manager.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn update_csv(data: ProcessedTrade, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_token_balance` is never used [INFO] [stdout] --> src/trading/balance.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn get_token_balance(rpc_url: &str, wallet_address: H160, token_address: H160) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sell_token` is never used [INFO] [stdout] --> src/trading/sell.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn sell_token( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sell_v2` is never used [INFO] [stdout] --> src/trading/sell.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | async fn sell_v2( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sell_v3` is never used [INFO] [stdout] --> src/trading/sell.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | async fn sell_v3( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NFT_list` should have a snake case name [INFO] [stdout] --> src/models/token_api_response_models.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub NFT_list: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `nft_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NFT_id` should have a snake case name [INFO] [stdout] --> src/models/token_api_response_models.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub NFT_id: Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `nft_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NFT_percentage` should have a snake case name [INFO] [stdout] --> src/models/token_api_response_models.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub NFT_percentage: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nft_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NFT_list` should have a snake case name [INFO] [stdout] --> src/models/token_api_response_models.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub NFT_list: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `nft_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NFT_id` should have a snake case name [INFO] [stdout] --> src/models/token_api_response_models.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub NFT_id: Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `nft_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NFT_percentage` should have a snake case name [INFO] [stdout] --> src/models/token_api_response_models.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub NFT_percentage: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nft_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/analysis/processor.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | listen_to_mempool_swaps(&network_metadata_clone2, &exchange_clone2, token_to_assess_clone2, pair_or_pool_clone2).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = listen_to_mempool_swaps(&network_metadata_clone2, &exchange_clone2, token_to_assess_clone2, pair_or_pool_clone2).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/analysis/processor.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | trade.canceled(TradeSubStatus::FailedSecurityCheck); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = trade.canceled(TradeSubStatus::FailedSecurityCheck); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/analysis/processor.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | listen_to_mempool_swaps(&network_metadata_clone2, &exchange_clone2, token_to_assess_clone2, pair_or_pool_clone2).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = listen_to_mempool_swaps(&network_metadata_clone2, &exchange_clone2, token_to_assess_clone2, pair_or_pool_clone2).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/analysis/processor.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | trade.canceled(TradeSubStatus::FailedSecurityCheck); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = trade.canceled(TradeSubStatus::FailedSecurityCheck); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.29s [INFO] running `Command { std: "docker" "inspect" "8d17f61b133f2e11184ba3e7ab1e68f06f09d3084399b9e489ea0752a2002482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d17f61b133f2e11184ba3e7ab1e68f06f09d3084399b9e489ea0752a2002482", kill_on_drop: false }` [INFO] [stdout] 8d17f61b133f2e11184ba3e7ab1e68f06f09d3084399b9e489ea0752a2002482