You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
solfhe-analyzer git:(main) ✗ cargo run
Compiling solfhe-analyzer v0.1.0 (/Users/dante/Desktop/reacthreejs/solfhe-monorepo/solfhe-analyzer)
error[E0433]: failed to resolve: use of undeclared crate or module solana_transaction_status
--> src/main.rs:188:57
|
188 | let transaction = client.get_transaction(signature, solana_transaction_status::UiTransactionEncoding::Json)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module solana_transaction_status
warning: unused import: rent::Rent
--> src/main.rs:26:5
|
26 | rent::Rent,
| ^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default
error[E0308]: mismatched types
--> src/main.rs:188:46
|
188 | let transaction = client.get_transaction(signature, solana_transaction_status::UiTransactionEncoding::Json)?;
| --------------- ^^^^^^^^^ expected &Signature, found &str
| |
| arguments to this method are incorrect
|
= note: expected reference &solana_sdk::signature::Signature
found reference &str
note: method defined here
--> /Users/dante/.cargo/registry/src/index.crates.io-6f17d22bba15001f/solana-rpc-client-1.18.23/src/rpc_client.rs:2596:12
|
2596 | pub fn get_transaction(
| ^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> src/main.rs:191:16
|
191 | if let Some(log_messages) = meta.log_messages {
| ^^^^^^^^^^^^^^^^^^ ----------------- this expression has type solana_transaction_status::option_serializer::OptionSerializer<Vec<std::string::String>>
| |
| expected OptionSerializer<Vec<String>>, found Option<_>
|
= note: expected enum solana_transaction_status::option_serializer::OptionSerializer<Vec<std::string::String>>
found enum Option<_>
error[E0425]: cannot find function create_solana_account in this scope
--> src/main.rs:210:20
|
210 | let account1 = create_solana_account();
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function create_solana_account in this scope
--> src/main.rs:211:20
|
211 | let account2 = create_solana_account();
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
Some errors have detailed explanations: E0308, E0425, E0433.
For more information about an error, try rustc --explain E0308.
warning: solfhe-analyzer (bin "solfhe-analyzer") generated 1 warning
error: could not compile solfhe-analyzer (bin "solfhe-analyzer") due to 5 previous errors; 1 warning emitted
The text was updated successfully, but these errors were encountered:
solfhe-analyzer git:(main) ✗ cargo run
Compiling solfhe-analyzer v0.1.0 (/Users/dante/Desktop/reacthreejs/solfhe-monorepo/solfhe-analyzer)
error[E0432]: unresolved import `solana_transaction_status`
--> src/main.rs:28:5
|
28 | use solana_transaction_status::UiTransactionEncoding;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `solana_transaction_status`
error[E0308]: mismatched types
--> src/main.rs:195:16
|
195 | if let Some(log_messages) = meta.log_messages {
| ^^^^^^^^^^^^^^^^^^ ----------------- this expression has type `solana_transaction_status::option_serializer::OptionSerializer<Vec<std::string::String>>`
| |
| expected `OptionSerializer<Vec<String>>`, found `Option<_>`
|
= note: expected enum `solana_transaction_status::option_serializer::OptionSerializer<Vec<std::string::String>>`
found enum `Option<_>`
Some errors have detailed explanations: E0308, E0432.
For more information about an error, try `rustc --explain E0308`.
error: could not compile `solfhe-analyzer` (bin "solfhe-analyzer") due to 2 previous errors
solfhe-analyzer git:(main) ✗ cargo build
Compiling solfhe-analyzer v0.1.0 (/Users/dante/Desktop/reacthreejs/solfhe-monorepo/solfhe-analyzer)
error[E0308]: mismatched types
--> src/main.rs:195:16
|
195 | if let Some(log_messages) = meta.log_messages {
| ^^^^^^^^^^^^^^^^^^ ----------------- this expression has type `OptionSerializer<Vec<std::string::String>>`
| |
| expected `OptionSerializer<Vec<String>>`, found `Option<_>`
|
= note: expected enum `OptionSerializer<Vec<std::string::String>>`
found enum `Option<_>`
For more information about this error, try `rustc --explain E0308`.
error: could not compile `solfhe-analyzer` (bin "solfhe-analyzer") due to 1 previous error
The text was updated successfully, but these errors were encountered: