.github/workflows/workspace.yml #1182
Annotations
10 warnings
Run actions-rs/clippy@master:
apple-xar/src/format.rs#L14
warning: unneeded unit expression
--> apple-xar/src/format.rs:14:38
|
14 | #[derive(Clone, Copy, Debug, IOread, IOwrite, Pread, SizeWith)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: `#[warn(clippy::unused_unit)]` on by default
= note: this warning originates in the derive macro `IOwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs/clippy@master:
apple-xar/src/reader.rs#L355
warning: accessing first element with `certificates.get(0)`
--> apple-xar/src/reader.rs:355:33
|
355 | if let Some(cert) = certificates.get(0) {
| ^^^^^^^^^^^^^^^^^^^ help: try: `certificates.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `#[warn(clippy::get_first)]` on by default
|
Run actions-rs/clippy@master:
apple-bundles/src/lib.rs#L21
warning: direct implementation of `ToString`
--> apple-bundles/src/lib.rs:21:1
|
21 | / impl ToString for BundlePackageType {
22 | | fn to_string(&self) -> String {
23 | | match self {
24 | | Self::App => "APPL",
... |
29 | | }
30 | | }
| |_^
|
= help: prefer implementing `Display` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
= note: `#[warn(clippy::to_string_trait_impl)]` on by default
|
Run actions-rs/clippy@master:
apple-bom/src/format.rs#L154
warning: unneeded unit expression
--> apple-bom/src/format.rs:154:39
|
154 | #[derive(Clone, Copy, Default, Debug, IOwrite, Pread, Pwrite, SizeWith)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: `#[warn(clippy::unused_unit)]` on by default
= note: this warning originates in the derive macro `IOwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs/clippy@master:
apple-bom/src/format.rs#L266
warning: unneeded unit expression
--> apple-bom/src/format.rs:266:39
|
266 | #[derive(Clone, Copy, Default, Debug, IOwrite, Pread, Pwrite, SizeWith)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the derive macro `IOwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs/clippy@master:
apple-bom/src/format.rs#L406
warning: unneeded unit expression
--> apple-bom/src/format.rs:406:39
|
406 | #[derive(Clone, Copy, Default, Debug, IOwrite, Pread, Pwrite, SizeWith)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the derive macro `IOwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs/clippy@master:
apple-bom/src/format.rs#L470
warning: unneeded unit expression
--> apple-bom/src/format.rs:470:39
|
470 | #[derive(Clone, Copy, Default, Debug, IOwrite, Pread, Pwrite, SizeWith)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the derive macro `IOwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs/clippy@master:
apple-bom/src/format.rs#L622
warning: unneeded unit expression
--> apple-bom/src/format.rs:622:39
|
622 | #[derive(Clone, Copy, Default, Debug, IOwrite, Pread, Pwrite, SizeWith)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the derive macro `IOwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs/clippy@master:
apple-bom/src/format.rs#L657
warning: unneeded unit expression
--> apple-bom/src/format.rs:657:39
|
657 | #[derive(Clone, Copy, Default, Debug, IOwrite, Pread, Pwrite, SizeWith)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the derive macro `IOwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs/clippy@master:
apple-bom/src/format.rs#L804
warning: unneeded unit expression
--> apple-bom/src/format.rs:804:30
|
804 | #[derive(Clone, Copy, Debug, IOwrite, Pwrite, SizeWith)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the derive macro `IOwrite` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Loading