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

Update warp dependency #135

Open
rekby opened this issue Mar 12, 2023 · 0 comments
Open

Update warp dependency #135

rekby opened this issue Mar 12, 2023 · 0 comments

Comments

@rekby
Copy link
Member

rekby commented Mar 12, 2023

After merged end released seanmonstar/warp#846

Because warp has dependencies to multipart -> buf_redux, which contains feature incompatibilities.

Clippy warning
The following warnings were discovered during the build. These warnings are an indication that the packages contain code that will become an error in a future release of Rust. These warnings typically cover changes to close soundness problems, unintended or undocumented behavior, or critical problems that cannot be fixed in a backwards-compatible fashion, and are not expected to be in wide use.

Each warning should contain a link for more information on what the warning
means and how to resolve it.

To solve this problem, you can try the following approaches:

The package buf_redux v0.8.4 currently triggers the following future incompatibility lints:

warning: trailing semicolon in macro used in expression position
--> /Users/rekby/.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 | if buffer.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 rust-lang/rust#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 package multipart v0.18.0 currently triggers the following future incompatibility lints:

warning: trailing semicolon in macro used in expression position
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/multipart-0.18.0/src/server/field.rs:30:11
|
30 | ));
| ^
...
174 | None => invalid_cont_disp!(
| ________-
175 | | "expected additional data after Content-Disposition type",
176 | | header.val
177 | | ),
| |
- 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 rust-lang/rust#79813
= note: #[allow(semicolon_in_expressions_from_macros)] on by default
= note: this warning originates in the macro invalid_cont_disp (in Nightly builds, run with -Z macro-backtrace for more info)

warning: trailing semicolon in macro used in expression position
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/multipart-0.18.0/src/server/field.rs:30:11
|
30 | ));
| ^
...
182 | None => invalid_cont_disp!(
| ________-
183 | | "expected field name and maybe filename, got",
184 | | after_disp_type
185 | | ),
| |
- 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 rust-lang/rust#79813
= note: #[allow(semicolon_in_expressions_from_macros)] on by default
= note: this warning originates in the macro invalid_cont_disp (in Nightly builds, run with -Z macro-backtrace for more info)

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

1 participant