Compiling solanarustbot v0.1.0 (C:\solanarustbot) error: cannot find attribute getter in…
- User
Compiling solana_rust_bot v0.1.0 (C:\solana_rust_bot) error: cannot find attribute
getterin this scope --> src/lib.rs:249:7 | 249 | #[getter] | ^^^^^^error: cannot find attribute
pyo3in this scope --> src/lib.rs:207:7 | 207 | #[pyo3(signature = (config_path))] | ^^^^ | = note:pyo3is in scope, but it is a crate, not an attributewarning: unused import:
transaction::Transaction--> src/lib.rs:7:5 | 7 | transaction::Transaction, | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note:#[warn(unused_imports)]on by defaultwarning: unused import:
env--> src/lib.rs:13:5 | 13 | env, | ^^^warning: unused imports:
debugandwarn--> src/lib.rs:22:11 | 22 | use log::{debug, error, info, warn}; | ^^^^^ ^^^^error[E0599]: no method named
validate_pool_metricsfound for reference&TradingCorein the current scope --> src/lib.rs:288:17 | 288 | if self.validate_pool_metrics(&metrics) { | ^^^^^^^^^^^^^^^^^^^^^ | help: there is a methodupdate_pool_metricswith a similar name | 288 | if self.update_pool_metrics(&metrics) { | ~~~~~~~~~~~~~~~~~~~error[E0599]: no method named
try_execute_tradefound for reference&TradingCorein the current scope --> src/lib.rs:317:24 | 317 | match self.try_execute_trade(primary_rpc, keypair, &final_instructions) { | ^^^^^^^^^^^^^^^^^ | help: there is a methodexecute_tradewith a similar name, but with different arguments --> src/lib.rs:297:5 | 297 | fn execute_trade(&self, instructions: String) -> PyResult { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^error[E0599]: no method named
try_execute_tradefound for reference&TradingCorein the current scope --> src/lib.rs:330:24 | 330 | match self.try_execute_trade(secondary_rpc, keypair, &final_instructions) { | ^^^^^^^^^^^^^^^^^ | help: there is a methodexecute_tradewith a similar name, but with different arguments --> src/lib.rs:297:5 | 297 | fn execute_trade(&self, instructions: String) -> PyResult { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^For more information about this error, try
rustc --explain E0599. warning:solana_rust_bot(lib) generated 3 warnings error: could not compilesolana_rust_bot(lib) due to 5 previous errors; 3 warnings emitted 2024-12-09T02:51:38.714630Z INFO build_wheels: maturin::build_context: close time.busy=753ms time.idle=1.20µs 💥 maturin failed Caused by: Failed to build a native library through cargo Caused by: Cargo build finished with "exit code: 101": fix this stuff here how? - Assistant