deprecate-until: new package
I had to disable one test, which fails because it relies on warnings being converted to errors via the #![deny(warnings)]
attribute.
This attribute seems not understood in the Debian build environment, leading to a test failure. However the package still produces the expected warnings, so it's not a bug with the crate, which is why I think it's fine to disable the test.
The build output shows:
warning: use of deprecated function `f1`: removal scheduled for version >= 1.0
--> tests/ui/warn.rs:15:5
|
15 | f1();
| ^^
|
note: the lint level is defined here
--> tests/ui/warn.rs:1:9
|
1 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[warn(deprecated)]` implied by `#[warn(warnings)]`
Note how the #![deny(warnings)]
annotation is understood by the compiler as #![warn(warnings)]
- it's unclear to me why. I'm curious if you have tips to debug this further.