You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently we need an alternative to buf_redux. The upstream repository was archived recently and as of v1.68.0 rustc started complaining.
% cargo c Compiling proc-macro2 v1.0.51 Compiling quote v1.0.23 Compiling unicode-ident v1.0.8 Compiling syn v1.0.109 Compiling libc v0.2.140 Compiling memchr v2.5.0 Compiling log v0.4.17 Checking cfg-if v1.0.0 Checking once_cell v1.17.1 Checking safemem v0.3.3 Checking pin-project-lite v0.2.9 Checking byteorder v1.4.3 Checking tracing-core v0.1.30 Checking slice-deque v0.2.4 Checking buf_redux v0.8.4 Compiling tracing-attributes v0.1.23 Checking tracing v0.1.37 Checking pcarp v1.4.0 (/home/maoe/src/github.com/asayers/pcarp) Finished dev [unoptimized + debuginfo] target(s) in 5.73swarning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
% cargo report future-incompatibilities --id 1The following warnings were discovered during the build. These warnings are anindication that the packages contain code that will become an error in afuture release of Rust. These warnings typically cover changes to closesoundness problems, unintended or undocumented behavior, or critical problemsthat cannot be fixed in a backwards-compatible fashion, and are not expectedto be in wide use.Each warning should contain a link for more information on what the warningmeans and how to resolve it.To solve this problem, you can try the following approaches:- If the issue is not solved by updating the dependencies, a fix has to beimplemented by those dependencies. You can help with that by notifying themaintainers of this problem (e.g. by creating a bug report) or by proposing afix to the maintainers (e.g. by creating a pull request): - [email protected] - Repository: https://github.com/abonander/buf_redux - Detailed warning command: `cargo report future-incompatibilities --id 1 --package [email protected]`- If waiting for an upstream fix is not an option, you can use the `[patch]`section in `Cargo.toml` to use your own version of the dependency. For moreinformation, see:https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-sectionThe package `buf_redux v0.8.4` currently triggers the following future incompatibility lints:
> warning: trailing semicolon in macro used in expression position
> --> /home/maoe/.cargo/registry/src/github.com-1ecc6299db9ec823/buf_redux-0.8.4/src/policy.rs:25:57
> |
> 25 | ($val:expr) => ( return$crate::policy::DoRead($val); );
> | ^
> ...
> 118 |ifbuffer.len() >= self.0 { do_read!(false) }
> | --------------- in this macro invocation
> |
> = 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 #79813 <https://github.com/rust-lang/rust/issues/79813>
> = note: macro invocations at the end of a block are treated as expressions
> = note: to ignore the value produced by the macro, add a semicolon after the invocation of `do_read`
> = note: `#[allow(semicolon_in_expressions_from_macros)]` on by default
> = note: this warning originates in the macro `do_read` (in Nightly builds, run with -Z macro-backtrace for more info)
>
The text was updated successfully, but these errors were encountered:
Apparently we need an alternative to buf_redux. The upstream repository was archived recently and as of v1.68.0 rustc started complaining.
The text was updated successfully, but these errors were encountered: