vdirsyncer icon indicating copy to clipboard operation
vdirsyncer copied to clipboard

error: could not compile `url`.

Open yuceltoluyag opened this issue 5 years ago • 0 comments

Python 3.8.1

Linux jason 5.4.15-arch1-1 #1 SMP PREEMPT Sun, 26 Jan 2020 09:48:50 +0000 x86_64 GNU/Linux

https://aur.archlinux.org/packages/vdirsyncer-git/ an error occurred while installing the package

error[E0713]: borrow may still be in use when destructor runs
   --> /home/friday13/.cargo/registry/src/github.com-1ecc6299db9ec823/url-1.7.0/src/form_urlencoded.rs:261:40
    |
259 | impl<'a> Target for ::UrlQuery<'a> {
    |      -- lifetime `'a` defined here
260 |     fn as_mut_string(&mut self) -> &mut String { &mut self.url.serialization }
261 |     fn finish(self) -> &'a mut ::Url { self.url }
    |                                        ^^^^^^^^ - here, drop of `self` needs exclusive access to `*self.url`, because the type `UrlQuery<'_>` implements the `Drop` trait
    |                                        |
    |                                        returning this value requires that `*self.url` is borrowed for `'a`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0713`.
error: could not compile `url`.
warning: build failed, waiting for other jobs to finish...
error: build failed
==> ERROR: A failure occurred in build().
    Aborting...
Error making: vdirsyncer-git

yuceltoluyag avatar Feb 02 '20 21:02 yuceltoluyag