Skip to content

blsforme: Temporarily force quiet for Serpent testing #271

blsforme: Temporarily force quiet for Serpent testing

blsforme: Temporarily force quiet for Serpent testing #271

Triggered via push November 21, 2024 02:12
Status Success
Total duration 32s
Artifacts

ci.yaml

on: push
Build & Test Project
22s
Build & Test Project
Fit to window
Zoom out
Zoom in

Annotations

103 warnings
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
Build & Test Project
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] crates/topology/src/disk/mounts.rs#L35: crates/topology/src/disk/mounts.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:35:6 | 35 | impl<'a> MountOption<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 35 - impl<'a> MountOption<'a> { 35 + impl MountOption<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L50: crates/topology/src/disk/mounts.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:50:6 | 50 | impl<'a> Mount<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'a> Mount<'a> { 50 + impl Mount<'_> { |
[clippy] crates/topology/src/disk/probe.rs#L60: crates/topology/src/disk/probe.rs#L60
warning: unnecessary closure used to substitute value for `Option::None` --> crates/topology/src/disk/probe.rs:60:35 | 60 | let matching_device = self | ___________________________________^ 61 | | .mounts 62 | | .iter() 63 | | .find(|m| PathBuf::from(m.mountpoint) == mountpoint) 64 | | .ok_or_else(|| super::Error::UnknownMount(mountpoint))?; | |______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default help: use `ok_or` instead | 64 | .ok_or(super::Error::UnknownMount(mountpoint))?; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/kernel.rs#L102: blsforme/src/kernel.rs#L102
warning: the following explicit lifetimes could be elided: 'a --> blsforme/src/kernel.rs:102:6 | 102 | impl<'a> Schema<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 102 - impl<'a> Schema<'a> { 102 + impl Schema<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L35: crates/topology/src/disk/mounts.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:35:6 | 35 | impl<'a> MountOption<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 35 - impl<'a> MountOption<'a> { 35 + impl MountOption<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L50: crates/topology/src/disk/mounts.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:50:6 | 50 | impl<'a> Mount<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'a> Mount<'a> { 50 + impl Mount<'_> { |
[clippy] crates/topology/src/disk/probe.rs#L60: crates/topology/src/disk/probe.rs#L60
warning: unnecessary closure used to substitute value for `Option::None` --> crates/topology/src/disk/probe.rs:60:35 | 60 | let matching_device = self | ___________________________________^ 61 | | .mounts 62 | | .iter() 63 | | .find(|m| PathBuf::from(m.mountpoint) == mountpoint) 64 | | .ok_or_else(|| super::Error::UnknownMount(mountpoint))?; | |______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default help: use `ok_or` instead | 64 | .ok_or(super::Error::UnknownMount(mountpoint))?; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/kernel.rs#L102: blsforme/src/kernel.rs#L102
warning: the following explicit lifetimes could be elided: 'a --> blsforme/src/kernel.rs:102:6 | 102 | impl<'a> Schema<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 102 - impl<'a> Schema<'a> { 102 + impl Schema<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L35: crates/topology/src/disk/mounts.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:35:6 | 35 | impl<'a> MountOption<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 35 - impl<'a> MountOption<'a> { 35 + impl MountOption<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L50: crates/topology/src/disk/mounts.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:50:6 | 50 | impl<'a> Mount<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'a> Mount<'a> { 50 + impl Mount<'_> { |
[clippy] crates/topology/src/disk/probe.rs#L60: crates/topology/src/disk/probe.rs#L60
warning: unnecessary closure used to substitute value for `Option::None` --> crates/topology/src/disk/probe.rs:60:35 | 60 | let matching_device = self | ___________________________________^ 61 | | .mounts 62 | | .iter() 63 | | .find(|m| PathBuf::from(m.mountpoint) == mountpoint) 64 | | .ok_or_else(|| super::Error::UnknownMount(mountpoint))?; | |______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default help: use `ok_or` instead | 64 | .ok_or(super::Error::UnknownMount(mountpoint))?; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/kernel.rs#L102: blsforme/src/kernel.rs#L102
warning: the following explicit lifetimes could be elided: 'a --> blsforme/src/kernel.rs:102:6 | 102 | impl<'a> Schema<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 102 - impl<'a> Schema<'a> { 102 + impl Schema<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L35: crates/topology/src/disk/mounts.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:35:6 | 35 | impl<'a> MountOption<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 35 - impl<'a> MountOption<'a> { 35 + impl MountOption<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L50: crates/topology/src/disk/mounts.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:50:6 | 50 | impl<'a> Mount<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'a> Mount<'a> { 50 + impl Mount<'_> { |
[clippy] crates/topology/src/disk/probe.rs#L60: crates/topology/src/disk/probe.rs#L60
warning: unnecessary closure used to substitute value for `Option::None` --> crates/topology/src/disk/probe.rs:60:35 | 60 | let matching_device = self | ___________________________________^ 61 | | .mounts 62 | | .iter() 63 | | .find(|m| PathBuf::from(m.mountpoint) == mountpoint) 64 | | .ok_or_else(|| super::Error::UnknownMount(mountpoint))?; | |______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default help: use `ok_or` instead | 64 | .ok_or(super::Error::UnknownMount(mountpoint))?; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/kernel.rs#L102: blsforme/src/kernel.rs#L102
warning: the following explicit lifetimes could be elided: 'a --> blsforme/src/kernel.rs:102:6 | 102 | impl<'a> Schema<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 102 - impl<'a> Schema<'a> { 102 + impl Schema<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L35: crates/topology/src/disk/mounts.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:35:6 | 35 | impl<'a> MountOption<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 35 - impl<'a> MountOption<'a> { 35 + impl MountOption<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L50: crates/topology/src/disk/mounts.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:50:6 | 50 | impl<'a> Mount<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'a> Mount<'a> { 50 + impl Mount<'_> { |
[clippy] crates/topology/src/disk/probe.rs#L60: crates/topology/src/disk/probe.rs#L60
warning: unnecessary closure used to substitute value for `Option::None` --> crates/topology/src/disk/probe.rs:60:35 | 60 | let matching_device = self | ___________________________________^ 61 | | .mounts 62 | | .iter() 63 | | .find(|m| PathBuf::from(m.mountpoint) == mountpoint) 64 | | .ok_or_else(|| super::Error::UnknownMount(mountpoint))?; | |______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default help: use `ok_or` instead | 64 | .ok_or(super::Error::UnknownMount(mountpoint))?; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/kernel.rs#L102: blsforme/src/kernel.rs#L102
warning: the following explicit lifetimes could be elided: 'a --> blsforme/src/kernel.rs:102:6 | 102 | impl<'a> Schema<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 102 - impl<'a> Schema<'a> { 102 + impl Schema<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L35: crates/topology/src/disk/mounts.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:35:6 | 35 | impl<'a> MountOption<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 35 - impl<'a> MountOption<'a> { 35 + impl MountOption<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L50: crates/topology/src/disk/mounts.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:50:6 | 50 | impl<'a> Mount<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'a> Mount<'a> { 50 + impl Mount<'_> { |
[clippy] crates/topology/src/disk/probe.rs#L60: crates/topology/src/disk/probe.rs#L60
warning: unnecessary closure used to substitute value for `Option::None` --> crates/topology/src/disk/probe.rs:60:35 | 60 | let matching_device = self | ___________________________________^ 61 | | .mounts 62 | | .iter() 63 | | .find(|m| PathBuf::from(m.mountpoint) == mountpoint) 64 | | .ok_or_else(|| super::Error::UnknownMount(mountpoint))?; | |______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default help: use `ok_or` instead | 64 | .ok_or(super::Error::UnknownMount(mountpoint))?; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/kernel.rs#L102: blsforme/src/kernel.rs#L102
warning: the following explicit lifetimes could be elided: 'a --> blsforme/src/kernel.rs:102:6 | 102 | impl<'a> Schema<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 102 - impl<'a> Schema<'a> { 102 + impl Schema<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L35: crates/topology/src/disk/mounts.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:35:6 | 35 | impl<'a> MountOption<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 35 - impl<'a> MountOption<'a> { 35 + impl MountOption<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L50: crates/topology/src/disk/mounts.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:50:6 | 50 | impl<'a> Mount<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'a> Mount<'a> { 50 + impl Mount<'_> { |
[clippy] crates/topology/src/disk/probe.rs#L60: crates/topology/src/disk/probe.rs#L60
warning: unnecessary closure used to substitute value for `Option::None` --> crates/topology/src/disk/probe.rs:60:35 | 60 | let matching_device = self | ___________________________________^ 61 | | .mounts 62 | | .iter() 63 | | .find(|m| PathBuf::from(m.mountpoint) == mountpoint) 64 | | .ok_or_else(|| super::Error::UnknownMount(mountpoint))?; | |______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default help: use `ok_or` instead | 64 | .ok_or(super::Error::UnknownMount(mountpoint))?; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/kernel.rs#L102: blsforme/src/kernel.rs#L102
warning: the following explicit lifetimes could be elided: 'a --> blsforme/src/kernel.rs:102:6 | 102 | impl<'a> Schema<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 102 - impl<'a> Schema<'a> { 102 + impl Schema<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L35: crates/topology/src/disk/mounts.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:35:6 | 35 | impl<'a> MountOption<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 35 - impl<'a> MountOption<'a> { 35 + impl MountOption<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L50: crates/topology/src/disk/mounts.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:50:6 | 50 | impl<'a> Mount<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'a> Mount<'a> { 50 + impl Mount<'_> { |
[clippy] crates/topology/src/disk/probe.rs#L60: crates/topology/src/disk/probe.rs#L60
warning: unnecessary closure used to substitute value for `Option::None` --> crates/topology/src/disk/probe.rs:60:35 | 60 | let matching_device = self | ___________________________________^ 61 | | .mounts 62 | | .iter() 63 | | .find(|m| PathBuf::from(m.mountpoint) == mountpoint) 64 | | .ok_or_else(|| super::Error::UnknownMount(mountpoint))?; | |______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default help: use `ok_or` instead | 64 | .ok_or(super::Error::UnknownMount(mountpoint))?; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/kernel.rs#L102: blsforme/src/kernel.rs#L102
warning: the following explicit lifetimes could be elided: 'a --> blsforme/src/kernel.rs:102:6 | 102 | impl<'a> Schema<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 102 - impl<'a> Schema<'a> { 102 + impl Schema<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L35: crates/topology/src/disk/mounts.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:35:6 | 35 | impl<'a> MountOption<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 35 - impl<'a> MountOption<'a> { 35 + impl MountOption<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L50: crates/topology/src/disk/mounts.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:50:6 | 50 | impl<'a> Mount<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'a> Mount<'a> { 50 + impl Mount<'_> { |
[clippy] crates/topology/src/disk/probe.rs#L60: crates/topology/src/disk/probe.rs#L60
warning: unnecessary closure used to substitute value for `Option::None` --> crates/topology/src/disk/probe.rs:60:35 | 60 | let matching_device = self | ___________________________________^ 61 | | .mounts 62 | | .iter() 63 | | .find(|m| PathBuf::from(m.mountpoint) == mountpoint) 64 | | .ok_or_else(|| super::Error::UnknownMount(mountpoint))?; | |______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default help: use `ok_or` instead | 64 | .ok_or(super::Error::UnknownMount(mountpoint))?; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/kernel.rs#L102: blsforme/src/kernel.rs#L102
warning: the following explicit lifetimes could be elided: 'a --> blsforme/src/kernel.rs:102:6 | 102 | impl<'a> Schema<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 102 - impl<'a> Schema<'a> { 102 + impl Schema<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L35: crates/topology/src/disk/mounts.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:35:6 | 35 | impl<'a> MountOption<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 35 - impl<'a> MountOption<'a> { 35 + impl MountOption<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L50: crates/topology/src/disk/mounts.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:50:6 | 50 | impl<'a> Mount<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'a> Mount<'a> { 50 + impl Mount<'_> { |
[clippy] crates/topology/src/disk/probe.rs#L60: crates/topology/src/disk/probe.rs#L60
warning: unnecessary closure used to substitute value for `Option::None` --> crates/topology/src/disk/probe.rs:60:35 | 60 | let matching_device = self | ___________________________________^ 61 | | .mounts 62 | | .iter() 63 | | .find(|m| PathBuf::from(m.mountpoint) == mountpoint) 64 | | .ok_or_else(|| super::Error::UnknownMount(mountpoint))?; | |______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default help: use `ok_or` instead | 64 | .ok_or(super::Error::UnknownMount(mountpoint))?; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/kernel.rs#L102: blsforme/src/kernel.rs#L102
warning: the following explicit lifetimes could be elided: 'a --> blsforme/src/kernel.rs:102:6 | 102 | impl<'a> Schema<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 102 - impl<'a> Schema<'a> { 102 + impl Schema<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L35: crates/topology/src/disk/mounts.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:35:6 | 35 | impl<'a> MountOption<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 35 - impl<'a> MountOption<'a> { 35 + impl MountOption<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L50: crates/topology/src/disk/mounts.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:50:6 | 50 | impl<'a> Mount<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'a> Mount<'a> { 50 + impl Mount<'_> { |
[clippy] crates/topology/src/disk/probe.rs#L60: crates/topology/src/disk/probe.rs#L60
warning: unnecessary closure used to substitute value for `Option::None` --> crates/topology/src/disk/probe.rs:60:35 | 60 | let matching_device = self | ___________________________________^ 61 | | .mounts 62 | | .iter() 63 | | .find(|m| PathBuf::from(m.mountpoint) == mountpoint) 64 | | .ok_or_else(|| super::Error::UnknownMount(mountpoint))?; | |______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default help: use `ok_or` instead | 64 | .ok_or(super::Error::UnknownMount(mountpoint))?; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/kernel.rs#L102: blsforme/src/kernel.rs#L102
warning: the following explicit lifetimes could be elided: 'a --> blsforme/src/kernel.rs:102:6 | 102 | impl<'a> Schema<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 102 - impl<'a> Schema<'a> { 102 + impl Schema<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L35: crates/topology/src/disk/mounts.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:35:6 | 35 | impl<'a> MountOption<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 35 - impl<'a> MountOption<'a> { 35 + impl MountOption<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L50: crates/topology/src/disk/mounts.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:50:6 | 50 | impl<'a> Mount<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'a> Mount<'a> { 50 + impl Mount<'_> { |
[clippy] crates/topology/src/disk/probe.rs#L60: crates/topology/src/disk/probe.rs#L60
warning: unnecessary closure used to substitute value for `Option::None` --> crates/topology/src/disk/probe.rs:60:35 | 60 | let matching_device = self | ___________________________________^ 61 | | .mounts 62 | | .iter() 63 | | .find(|m| PathBuf::from(m.mountpoint) == mountpoint) 64 | | .ok_or_else(|| super::Error::UnknownMount(mountpoint))?; | |______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default help: use `ok_or` instead | 64 | .ok_or(super::Error::UnknownMount(mountpoint))?; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/kernel.rs#L102: blsforme/src/kernel.rs#L102
warning: the following explicit lifetimes could be elided: 'a --> blsforme/src/kernel.rs:102:6 | 102 | impl<'a> Schema<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 102 - impl<'a> Schema<'a> { 102 + impl Schema<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L35: crates/topology/src/disk/mounts.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:35:6 | 35 | impl<'a> MountOption<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 35 - impl<'a> MountOption<'a> { 35 + impl MountOption<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L50: crates/topology/src/disk/mounts.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:50:6 | 50 | impl<'a> Mount<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'a> Mount<'a> { 50 + impl Mount<'_> { |
[clippy] crates/topology/src/disk/probe.rs#L60: crates/topology/src/disk/probe.rs#L60
warning: unnecessary closure used to substitute value for `Option::None` --> crates/topology/src/disk/probe.rs:60:35 | 60 | let matching_device = self | ___________________________________^ 61 | | .mounts 62 | | .iter() 63 | | .find(|m| PathBuf::from(m.mountpoint) == mountpoint) 64 | | .ok_or_else(|| super::Error::UnknownMount(mountpoint))?; | |______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default help: use `ok_or` instead | 64 | .ok_or(super::Error::UnknownMount(mountpoint))?; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/kernel.rs#L102: blsforme/src/kernel.rs#L102
warning: the following explicit lifetimes could be elided: 'a --> blsforme/src/kernel.rs:102:6 | 102 | impl<'a> Schema<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 102 - impl<'a> Schema<'a> { 102 + impl Schema<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L35: crates/topology/src/disk/mounts.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:35:6 | 35 | impl<'a> MountOption<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 35 - impl<'a> MountOption<'a> { 35 + impl MountOption<'_> { |
[clippy] crates/topology/src/disk/mounts.rs#L50: crates/topology/src/disk/mounts.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> crates/topology/src/disk/mounts.rs:50:6 | 50 | impl<'a> Mount<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'a> Mount<'a> { 50 + impl Mount<'_> { |
[clippy] crates/topology/src/disk/probe.rs#L60: crates/topology/src/disk/probe.rs#L60
warning: unnecessary closure used to substitute value for `Option::None` --> crates/topology/src/disk/probe.rs:60:35 | 60 | let matching_device = self | ___________________________________^ 61 | | .mounts 62 | | .iter() 63 | | .find(|m| PathBuf::from(m.mountpoint) == mountpoint) 64 | | .ok_or_else(|| super::Error::UnknownMount(mountpoint))?; | |______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default help: use `ok_or` instead | 64 | .ok_or(super::Error::UnknownMount(mountpoint))?; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[clippy] blsforme/src/bootloader/systemd_boot/mod.rs#L23: blsforme/src/bootloader/systemd_boot/mod.rs#L23
warning: field `config` is never read --> blsforme/src/bootloader/systemd_boot/mod.rs:25:5 | 23 | pub struct Loader<'a, 'b> { | ------ field in this struct 24 | /// system configuration 25 | config: &'a Configuration, | ^^^^^^ | = note: `Loader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] blsforme/src/entry.rs#L10: blsforme/src/entry.rs#L10
warning: field `cmdline` is never read --> blsforme/src/entry.rs:14:5 | 10 | pub struct Entry<'a> { | ----- field in this struct ... 14 | cmdline: Option<String>, | ^^^^^^^ | = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[clippy] blsforme/src/kernel.rs#L102: blsforme/src/kernel.rs#L102
warning: the following explicit lifetimes could be elided: 'a --> blsforme/src/kernel.rs:102:6 | 102 | impl<'a> Schema<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 102 - impl<'a> Schema<'a> { 102 + impl Schema<'_> { |