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

deprecated associated function in build #126

Open
mikemadden42 opened this issue May 14, 2021 · 1 comment
Open

deprecated associated function in build #126

mikemadden42 opened this issue May 14, 2021 · 1 comment

Comments

@mikemadden42
Copy link

$ rustc --version
rustc 1.52.1 (9bc8c42bb 2021-05-09)

$ sw_vers
ProductName:	macOS
ProductVersion:	11.3.1
BuildVersion:	20E241

I see this warning from cargo build --release:

   Compiling reqwest v0.11.3
warning: use of deprecated associated function `failure::Fail::causes`: please use the 'iter_chain()' method instead
  --> src/util.rs:59:10
   |
59 |         .causes()
   |          ^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: 1 warning emitted
@timvisee
Copy link
Owner

timvisee commented May 16, 2021

Thanks for the report. This shows up on all systems and configurations.

This is related to error handling. In order to properly fix this I'd like to upgrade to using the thiserror and anyhow crates (like I've done with prs).

I currently have limited time available, sadly. Fixing this as suggested requires some time for plumbing work. As it's a low priority thing I'll leave it open for a later moment to fix.

This has also been reported here: https://gitlab.com/timvisee/ffsend/-/issues/110

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