Skip to content

doc Client::connect method. #1554

doc Client::connect method.

doc Client::connect method. #1554

Triggered via pull request March 22, 2024 20:37
Status Success
Total duration 1m 24s
Artifacts

clippy-fmt.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 warnings
fmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
item has both inner and outer attributes: web/src/lib.rs#L277
warning: item has both inner and outer attributes --> web/src/lib.rs:277:1 | 277 | / #[cfg(feature = "codegen")] 278 | | pub mod codegen { 279 | | //! macro code generation module. | |_____________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style = note: `#[warn(clippy::mixed_attributes_style)]` on by default
item has both inner and outer attributes: web/src/lib.rs#L277
warning: item has both inner and outer attributes --> web/src/lib.rs:277:1 | 277 | / #[cfg(feature = "codegen")] 278 | | pub mod codegen { 279 | | //! macro code generation module. | |_____________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style = note: `#[warn(clippy::mixed_attributes_style)]` on by default
item has both inner and outer attributes: http-ws/src/proto.rs#L223
warning: item has both inner and outer attributes --> http-ws/src/proto.rs:223:1 | 223 | / #[cfg(test)] 224 | | mod test { 225 | | #![allow(unused_imports, unused_variables, dead_code)] | |__________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style = note: `#[warn(clippy::mixed_attributes_style)]` on by default
impl trait in impl method signature does not match trait method signature: postgres/src/driver/quic.rs#L232
warning: impl trait in impl method signature does not match trait method signature --> postgres/src/driver/quic.rs:232:27 | 232 | fn recv(&mut self) -> Pin<Box<dyn Future<Output = Result<backend::Message, Error>> + Send + '_>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: postgres/src/driver.rs:241:27 | 241 | fn recv(&mut self) -> impl Future<Output = Result<backend::Message, Error>> + Send; | ------------------------------------------------------------ return type from trait method defined here | = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate = note: we are soliciting feedback, see issue #121718 <https://github.com/rust-lang/rust/issues/121718> for more information help: replace the return type so that it matches the trait | 232 | fn recv(&mut self) -> impl std::future::Future<Output = std::result::Result<postgres_protocol::message::backend::Message, error::Error>> + std::marker::Send { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
impl trait in impl method signature does not match trait method signature: postgres/src/driver/quic.rs#L225
warning: impl trait in impl method signature does not match trait method signature --> postgres/src/driver/quic.rs:225:42 | 225 | fn send(&mut self, msg: BytesMut) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + '_>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: postgres/src/driver.rs:239:42 | 239 | fn send(&mut self, msg: BytesMut) -> impl Future<Output = Result<(), Error>> + Send; | ---------------------------------------------- return type from trait method defined here | = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate = note: we are soliciting feedback, see issue #121718 <https://github.com/rust-lang/rust/issues/121718> for more information = note: `#[warn(refining_impl_trait_internal)]` on by default help: replace the return type so that it matches the trait | 225 | fn send(&mut self, msg: BytesMut) -> impl std::future::Future<Output = std::result::Result<(), error::Error>> + std::marker::Send { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
item has both inner and outer attributes: http-ws/src/proto.rs#L223
warning: item has both inner and outer attributes --> http-ws/src/proto.rs:223:1 | 223 | / #[cfg(test)] 224 | | mod test { 225 | | #![allow(unused_imports, unused_variables, dead_code)] | |__________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style = note: `#[warn(clippy::mixed_attributes_style)]` on by default
clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/