Skip to content

Use updated Service trait #965

Use updated Service trait

Use updated Service trait #965

Triggered via push November 4, 2024 14:03
Status Failure
Total duration 11m 45s
Artifacts

windows.yml

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

Annotations

8 errors and 14 warnings
this if-then-else expression returns a bool literal: src/inflight.rs#L188
error: this if-then-else expression returns a bool literal --> src/inflight.rs:188:9 | 188 | / if (self.max_cap == 0 || self.cur_cap.get() < self.max_cap) 189 | | && (self.max_size == 0 || self.cur_size.get() <= self.max_size) 190 | | { 191 | | true 192 | | } else { 193 | | false 194 | | } | |_________^ help: you can reduce it to: `(self.max_cap == 0 || self.cur_cap.get() < self.max_cap) && (self.max_size == 0 || self.cur_size.get() <= self.max_size)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool note: the lint level is defined here --> src/lib.rs:1:27 | 1 | #![deny(rust_2018_idioms, warnings, unreachable_pub)] | ^^^^^^^^ = note: `#[deny(clippy::needless_bool)]` implied by `#[deny(warnings)]`
this if-then-else expression returns a bool literal: src/inflight.rs#L188
error: this if-then-else expression returns a bool literal --> src/inflight.rs:188:9 | 188 | / if (self.max_cap == 0 || self.cur_cap.get() < self.max_cap) 189 | | && (self.max_size == 0 || self.cur_size.get() <= self.max_size) 190 | | { 191 | | true 192 | | } else { 193 | | false 194 | | } | |_________^ help: you can reduce it to: `(self.max_cap == 0 || self.cur_cap.get() < self.max_cap) && (self.max_size == 0 || self.cur_size.get() <= self.max_size)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool note: the lint level is defined here --> src/lib.rs:1:27 | 1 | #![deny(rust_2018_idioms, warnings, unreachable_pub)] | ^^^^^^^^ = note: `#[deny(clippy::needless_bool)]` implied by `#[deny(warnings)]`
stable - x86_64-pc-windows-msvc: src/inflight.rs#L287
unused variable: `ctx`
stable - x86_64-pc-windows-msvc
could not compile `ntex-mqtt` (lib test) due to 1 previous error
stable - x86_64-pc-windows-msvc
The process 'C:\Users\runneradmin\.cargo\bin\cargo.exe' failed with exit code 101
nightly - x86_64-pc-windows-msvc: src/inflight.rs#L287
unused variable: `ctx`
nightly - x86_64-pc-windows-msvc
could not compile `ntex-mqtt` (lib test) due to 1 previous error
nightly - x86_64-pc-windows-msvc
The process 'C:\Users\runneradmin\.cargo\bin\cargo.exe' failed with exit code 101
nightly - x86_64-pc-windows-msvc
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
stable - x86_64-pc-windows-msvc
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
stable - x86_64-pc-windows-msvc
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
stable - x86_64-pc-windows-msvc
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
stable - x86_64-pc-windows-msvc
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/
stable - x86_64-pc-windows-msvc
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/
stable - x86_64-pc-windows-msvc
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/
stable - x86_64-pc-windows-msvc
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/
nightly - x86_64-pc-windows-msvc
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
nightly - x86_64-pc-windows-msvc
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
nightly - x86_64-pc-windows-msvc
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/
nightly - x86_64-pc-windows-msvc
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/
nightly - x86_64-pc-windows-msvc
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/
nightly - x86_64-pc-windows-msvc
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/