error[E0580]: main function has wrong type
--> src/main.rs:315:1
|
315 | / fn main() -> Result<()> {
316 | | let matches = clap_app!(myapp =>
317 | | (name: crate_name!())
318 | | (version: crate_version!())
... |
429 | | Ok(())
430 | | }
| |_^ expected (), found enum `std::result::Result`
|
= note: expected type `fn()`
found type `fn() -> std::result::Result<(), errors::Error>`
error: aborting due to previous error
error: failed to compile `signal-backup-decode v0.1.2`, intermediate artifacts can be found at `/tmp/cargo-install.Pr4b2E2f43ce`
Caused by:
Could not compile `signal-backup-decode`.
To learn more, run the command again with --verbose.