Skip to content

Add deprecation warning (#1691) #175

Add deprecation warning (#1691)

Add deprecation warning (#1691) #175

Triggered via push August 23, 2023 07:37
Status Failure
Total duration 44m 42s
Artifacts
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 51 warnings
Test (ubuntu-latest, 14)
Process completed with exit code 101.
Test (ubuntu-latest, 16)
Process completed with exit code 101.
Test (ubuntu-latest, 18)
Process completed with exit code 101.
use of `unwrap_or_else` to construct default value: pow/src/miner.rs#L86
error: use of `unwrap_or_else` to construct default value --> pow/src/miner.rs:86:33 | 86 | cancel: self.cancel.unwrap_or_else(MinerCancel::new), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default note: the lint level is defined here --> pow/src/lib.rs:8:58 | 8 | #![deny(clippy::nursery, missing_docs, rust_2018_idioms, warnings)] | ^^^^^^^^ = note: `#[deny(clippy::unwrap_or_default)]` implied by `#[deny(warnings)]`
unnecessary struct building: pow/src/miner.rs#L67
error: unnecessary struct building --> pow/src/miner.rs:67:9 | 67 | Self { ..Default::default() } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `Default::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_struct_initialization note: the lint level is defined here --> pow/src/lib.rs:8:9 | 8 | #![deny(clippy::nursery, missing_docs, rust_2018_idioms, warnings)] | ^^^^^^^^^^^^^^^ = note: `#[deny(clippy::unnecessary_struct_initialization)]` implied by `#[deny(clippy::nursery)]`
Test (windows-latest, 16)
Process completed with exit code 1.
use of `unwrap_or_else` to construct default value: pow/src/miner.rs#L86
error: use of `unwrap_or_else` to construct default value --> pow/src/miner.rs:86:33 | 86 | cancel: self.cancel.unwrap_or_else(MinerCancel::new), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default note: the lint level is defined here --> pow/src/lib.rs:8:58 | 8 | #![deny(clippy::nursery, missing_docs, rust_2018_idioms, warnings)] | ^^^^^^^^ = note: `#[deny(clippy::unwrap_or_default)]` implied by `#[deny(warnings)]`
unnecessary struct building: pow/src/miner.rs#L67
error: unnecessary struct building --> pow/src/miner.rs:67:9 | 67 | Self { ..Default::default() } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `Default::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_struct_initialization note: the lint level is defined here --> pow/src/lib.rs:8:9 | 8 | #![deny(clippy::nursery, missing_docs, rust_2018_idioms, warnings)] | ^^^^^^^^^^^^^^^ = note: `#[deny(clippy::unnecessary_struct_initialization)]` implied by `#[deny(clippy::nursery)]`
use of `unwrap_or_else` to construct default value: pow/src/miner.rs#L86
error: use of `unwrap_or_else` to construct default value --> pow/src/miner.rs:86:33 | 86 | cancel: self.cancel.unwrap_or_else(MinerCancel::new), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default note: the lint level is defined here --> pow/src/lib.rs:8:58 | 8 | #![deny(clippy::nursery, missing_docs, rust_2018_idioms, warnings)] | ^^^^^^^^ = note: `#[deny(clippy::unwrap_or_default)]` implied by `#[deny(warnings)]`
unnecessary struct building: pow/src/miner.rs#L67
error: unnecessary struct building --> pow/src/miner.rs:67:9 | 67 | Self { ..Default::default() } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `Default::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_struct_initialization note: the lint level is defined here --> pow/src/lib.rs:8:9 | 8 | #![deny(clippy::nursery, missing_docs, rust_2018_idioms, warnings)] | ^^^^^^^^^^^^^^^ = note: `#[deny(clippy::unnecessary_struct_initialization)]` implied by `#[deny(clippy::nursery)]`
Test (windows-latest, 18)
Process completed with exit code 1.
use of `unwrap_or_else` to construct default value: pow/src/miner.rs#L86
error: use of `unwrap_or_else` to construct default value --> pow/src/miner.rs:86:33 | 86 | cancel: self.cancel.unwrap_or_else(MinerCancel::new), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default note: the lint level is defined here --> pow/src/lib.rs:8:58 | 8 | #![deny(clippy::nursery, missing_docs, rust_2018_idioms, warnings)] | ^^^^^^^^ = note: `#[deny(clippy::unwrap_or_default)]` implied by `#[deny(warnings)]`
unnecessary struct building: pow/src/miner.rs#L67
error: unnecessary struct building --> pow/src/miner.rs:67:9 | 67 | Self { ..Default::default() } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `Default::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_struct_initialization note: the lint level is defined here --> pow/src/lib.rs:8:9 | 8 | #![deny(clippy::nursery, missing_docs, rust_2018_idioms, warnings)] | ^^^^^^^^^^^^^^^ = note: `#[deny(clippy::unnecessary_struct_initialization)]` implied by `#[deny(clippy::nursery)]`
Lint
Clippy had exited with the 101 exit code
Test (windows-latest, 14)
Process completed with exit code 1.
Test (macos-latest, 16)
Process completed with exit code 101.
Test (macos-latest, 14)
Process completed with exit code 101.
Test (macos-latest, 18)
Process completed with exit code 101.
Check Format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-latest, 14)
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/
Test (ubuntu-latest, 14)
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/
Test (ubuntu-latest, 14)
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/
Test (ubuntu-latest, 14)
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/
Test (ubuntu-latest, 14)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-latest, 16)
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/
Test (ubuntu-latest, 16)
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/
Test (ubuntu-latest, 16)
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/
Test (ubuntu-latest, 16)
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/
Test (ubuntu-latest, 16)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-latest, 18)
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/
Test (ubuntu-latest, 18)
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/
Test (ubuntu-latest, 18)
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/
Test (ubuntu-latest, 18)
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/
Test (ubuntu-latest, 18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, 16)
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/
Test (windows-latest, 16)
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/
Test (windows-latest, 16)
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/
Test (windows-latest, 16)
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/
Test (windows-latest, 16)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, 18)
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/
Test (windows-latest, 18)
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/
Test (windows-latest, 18)
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/
Test (windows-latest, 18)
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/
Test (windows-latest, 18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint
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/
Lint
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/
Lint
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/
Lint
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/
Lint
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/
Test (windows-latest, 14)
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/
Test (windows-latest, 14)
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/
Test (windows-latest, 14)
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/
Test (windows-latest, 14)
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/
Test (windows-latest, 14)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, 16)
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/
Test (macos-latest, 16)
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/
Test (macos-latest, 16)
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/
Test (macos-latest, 16)
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/
Test (macos-latest, 16)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, 14)
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/
Test (macos-latest, 14)
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/
Test (macos-latest, 14)
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/
Test (macos-latest, 14)
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/
Test (macos-latest, 14)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, 18)
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/
Test (macos-latest, 18)
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/
Test (macos-latest, 18)
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/
Test (macos-latest, 18)
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/
Test (macos-latest, 18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/