Skip to content

Added server mqtt over websockets #997

Added server mqtt over websockets

Added server mqtt over websockets #997

Triggered via push December 30, 2024 11:41
Status Failure
Total duration 31s
Artifacts

checks.yml

on: push
Matrix: Rustfmt
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
useless conversion to the same type: `error::ClientError<std::boxed::Box<v5::codec::packet::connack::ConnectAck>>`: src/v5/client/connector.rs#L208
error: useless conversion to the same type: `error::ClientError<std::boxed::Box<v5::codec::packet::connack::ConnectAck>>` --> src/v5/client/connector.rs:208:27 | 208 | Ok(res) => res.map_err(From::from), | ^^^^^^^^^^^^^^^^^^^^ help: consider removing | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
useless conversion to the same type: `error::ClientError<v3::codec::packet::ConnectAck>`: src/v3/client/connector.rs#L204
error: useless conversion to the same type: `error::ClientError<v3::codec::packet::ConnectAck>` --> src/v3/client/connector.rs:204:27 | 204 | Ok(res) => res.map_err(From::from), | ^^^^^^^^^^^^^^^^^^^^ help: consider removing | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[deny(clippy::useless_conversion)]` implied by `#[deny(warnings)]`
operator precedence can trip the unwary: src/v5/codec/packet/subscribe.rs#L245
error: operator precedence can trip the unwary --> src/v5/codec/packet/subscribe.rs:245:13 | 245 | / u8::from(self.qos) 246 | | | (self.no_local as u8) << 2 | |____________________________________________^ help: consider parenthesizing your expression: `u8::from(self.qos) | ((self.no_local as u8) << 2)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
operator precedence can trip the unwary: src/v5/codec/packet/subscribe.rs#L245
error: operator precedence can trip the unwary --> src/v5/codec/packet/subscribe.rs:245:13 | 245 | / u8::from(self.qos) 246 | | | (self.no_local as u8) << 2 247 | | | (self.retain_as_published as u8) << 3 | |_______________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence help: consider parenthesizing your expression | 245 ~ u8::from(self.qos) 246 + | (self.no_local as u8) << 2 | ((self.retain_as_published as u8) << 3) |
operator precedence can trip the unwary: src/v5/codec/packet/subscribe.rs#L245
error: operator precedence can trip the unwary --> src/v5/codec/packet/subscribe.rs:245:13 | 245 | / u8::from(self.qos) 246 | | | (self.no_local as u8) << 2 247 | | | (self.retain_as_published as u8) << 3 248 | | | u8::from(self.retain_handling) << 4, | |_____________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence note: the lint level is defined here --> src/lib.rs:1:27 | 1 | #![deny(rust_2018_idioms, warnings, unreachable_pub)] | ^^^^^^^^ = note: `#[deny(clippy::precedence)]` implied by `#[deny(warnings)]` help: consider parenthesizing your expression | 245 ~ u8::from(self.qos) 246 + | (self.no_local as u8) << 2 247 ~ | (self.retain_as_published as u8) << 3 | (u8::from(self.retain_handling) << 4), |
Clippy
Clippy had exited with the 101 exit code
useless conversion to the same type: `error::ClientError<std::boxed::Box<v5::codec::packet::connack::ConnectAck>>`: src/v5/client/connector.rs#L208
error: useless conversion to the same type: `error::ClientError<std::boxed::Box<v5::codec::packet::connack::ConnectAck>>` --> src/v5/client/connector.rs:208:27 | 208 | Ok(res) => res.map_err(From::from), | ^^^^^^^^^^^^^^^^^^^^ help: consider removing | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
useless conversion to the same type: `error::ClientError<v3::codec::packet::ConnectAck>`: src/v3/client/connector.rs#L204
error: useless conversion to the same type: `error::ClientError<v3::codec::packet::ConnectAck>` --> src/v3/client/connector.rs:204:27 | 204 | Ok(res) => res.map_err(From::from), | ^^^^^^^^^^^^^^^^^^^^ help: consider removing | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[deny(clippy::useless_conversion)]` implied by `#[deny(warnings)]`
operator precedence can trip the unwary: src/v5/codec/packet/subscribe.rs#L245
error: operator precedence can trip the unwary --> src/v5/codec/packet/subscribe.rs:245:13 | 245 | / u8::from(self.qos) 246 | | | (self.no_local as u8) << 2 | |____________________________________________^ help: consider parenthesizing your expression: `u8::from(self.qos) | ((self.no_local as u8) << 2)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
operator precedence can trip the unwary: src/v5/codec/packet/subscribe.rs#L245
error: operator precedence can trip the unwary --> src/v5/codec/packet/subscribe.rs:245:13 | 245 | / u8::from(self.qos) 246 | | | (self.no_local as u8) << 2 247 | | | (self.retain_as_published as u8) << 3 | |_______________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence help: consider parenthesizing your expression | 245 ~ u8::from(self.qos) 246 + | (self.no_local as u8) << 2 | ((self.retain_as_published as u8) << 3) |
operator precedence can trip the unwary: src/v5/codec/packet/subscribe.rs#L245
error: operator precedence can trip the unwary --> src/v5/codec/packet/subscribe.rs:245:13 | 245 | / u8::from(self.qos) 246 | | | (self.no_local as u8) << 2 247 | | | (self.retain_as_published as u8) << 3 248 | | | u8::from(self.retain_handling) << 4, | |_____________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence note: the lint level is defined here --> src/lib.rs:1:27 | 1 | #![deny(rust_2018_idioms, warnings, unreachable_pub)] | ^^^^^^^^ = note: `#[deny(clippy::precedence)]` implied by `#[deny(warnings)]` help: consider parenthesizing your expression | 245 ~ u8::from(self.qos) 246 + | (self.no_local as u8) << 2 247 ~ | (self.retain_as_published as u8) << 3 | (u8::from(self.retain_handling) << 4), |
Rustfmt (stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Rustfmt (stable)
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/
Rustfmt (stable)
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/
Rustfmt (stable)
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/
Rustfmt (stable)
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
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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/