Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need the csvdump.rs code #26

Open
faiyaz-libscr opened this issue Nov 17, 2022 · 2 comments
Open

Need the csvdump.rs code #26

faiyaz-libscr opened this issue Nov 17, 2022 · 2 comments

Comments

@faiyaz-libscr
Copy link

faiyaz-libscr commented Nov 17, 2022

Hi, Need Help ! I am getting this error!!!

Compiling rusty-blockparser v0.8.2 (C:\Users\allsc\Downloads\Compressed\rusty-blockparser-master\rusty-blockparser-master)
warning: unused import: std::fmt::Display
--> src\callbacks\csvdump.rs:4:5
|
4 | use std::fmt::Display;
| ^^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default

warning: use of deprecated associated function std::error::Error::description: use the Display impl or to_string()
--> src\blockchain\proto\script.rs:18:30
|
18 | write!(f, "{}", self.description())
| ^^^^^^^^^^^
|
= note: #[warn(deprecated)] on by default

error[E0277]: Option<std::string::String> doesn't implement std::fmt::Display
--> src\callbacks\csvdump.rs:204:13
|
204 | &self.script.address)
| ^^^^^^^^^^^^^^^^^^^^ Option<std::string::String> cannot be formatted with the default formatter
|
= help: the trait std::fmt::Display is not implemented for Option<std::string::String>
= note: in format strings you may be able to use {:?} (or {:#?} for pretty-print) instead
= note: this error originates in the macro $crate::__export::format_args which comes from the expansion of the macro format (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try rustc --explain E0277.
warning: rusty-blockparser (bin "rusty-blockparser") generated 2 warnings
error: could not compile rusty-blockparser due to previous error; 2 warnings emitted
|
204 | &self.script.address)
| ^^^^^^^^^^^^^^^^^^^^ Option<std::string::String> cannot be formatted with the default formatter
|
= help: the trait std::fmt::Display is not implemented for Option<std::string::String>
= note: in format strings you may be able to use {:?} (or {:#?} for pretty-print) instead
= note: this error originates in the macro $crate::__export::format_args which comes from the expansion of the macro format (in Nightly builds, run with -Z macro-backtrace for more info)

Some errors have detailed explanations: E0277, E0432.
For more information about an error, try rustc --explain E0277.
warning: rusty-blockparser (bin "rusty-blockparser") generated 3 warnings
error: could not compile rusty-blockparser due to 2 previous errors; 3 warnings emitted

Can you please update or upload the full modified version of your csvdump.rs code ?

Thanks

@barelylinda9
Copy link

#1

@Marieti121
Copy link

Q79UZWGAH22P9DSW41LAY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants