Quoting Jonas Smedegaard (2023-06-24 15:00:41)
> Attempting to build projects depenging on parking-lot-core with feature
> deadlock_detection enabled, fails like this:
> 
> error[E0432]: unresolved import `backtrace`
>     --> 
> /path/to/project/debian/cargo_registry/parking_lot_core-0.9.3/src/parking_lot.rs:1145:9
>      |
> 1145 |     use backtrace::Backtrace;
>      |         ^^^^^^^^^ help: a similar path exists: `std::backtrace`
> 
> For more information about this error, try `rustc --explain E0432`.
> error: could not compile `parking_lot_core` due to previous error
> 
> Seems the cause is that feature backtrace was gutted.

And (just guessing, because the patch lacks DEP-3 headers) it seems the
feature backtrace was gutted because at the time the crate backtrace was
too old in Debian - which is no longer the case.

So looks like the best fix is to simply drop the patch (and stop "set
test_is_broken", whatever that means).

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to