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

Build fails #53

Open
winst0nsmith opened this issue May 19, 2022 · 1 comment
Open

Build fails #53

winst0nsmith opened this issue May 19, 2022 · 1 comment

Comments

@winst0nsmith
Copy link

similar to issue #32 ? while installing on arch from the aur repos, i get this error:

error: custom inner attributes are unstable
--> src/Backups.rs:9:4
|
9 | #![rustfmt::skip]
| ^^^^^^^^^^^^^
|
= note: #[deny(soft_unstable)] on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #64266 rust-lang/rust#64266

warning: unused variable: key_value
--> src/output_csv.rs:101:32
|
101 | fn write_key_value(&mut self, key_value: &crate::Backups::KeyValue) -> Result<(), anyhow::Error>{
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: _key_value
|
= note: #[warn(unused_variables)] on by default

warning: unused variable: key_value
--> src/output_none.rs:72:32
|
72 | fn write_key_value(&mut self, key_value: &crate::Backups::KeyValue) -> Result<(), anyhow::Error>{
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: _key_value

warning: unused variable: key_value
--> src/output_raw.rs:247:32
|
247 | fn write_key_value(&mut self, key_value: &crate::Backups::KeyValue) -> Result<(), anyhow::Error>{
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: _key_value

warning: signal-backup-decode (bin "signal-backup-decode") generated 3 warnings
error: could not compile signal-backup-decode due to previous error; 3 warnings emitted

i am new to rust, and not so great a decoding compiler issues anyhow. but i believe the warnings are somewhat innocuous. it's the original error, the message about "unstable attributes" that is the problem, right? i followed the referenced link, but the info there is way beyond my understanding.

any thoughts on how to fix? trying to import my signal messages to sms on android so i can import to imessage...why be so difficult signal devs?!? lol

running rust 1.59.0

thanks,

winston smith

@Noorquacker
Copy link

As someone who also uses Arch, I personally don't like using Arch's built-in stuff for Rust. It looks like the AUR package isn't maintained by pajowu, so if you really want the AUR package to work, you'd have to talk to the AUR package maintainer about that.
The way that Rust is officially installed is with rustup, a script you run at https://rustup.rs. Once you run that script, you get cargo, the Rust package manager. From there, it's just cargo install signal-backup-decode and it works like a charm, at least on my machine ;)

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

2 participants