.github/workflows/workspace.yml #537
Annotations
2 errors and 11 warnings
apple-sdk/src/lib.rs#L438
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> apple-sdk/src/lib.rs:438:1
|
438 | / impl PartialOrd for PlatformDirectory {
439 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
440 | || self.path.partial_cmp(&other.path)
441 | || }
| ||_____- help: change this to: `{ Some(self.cmp(other)) }`
442 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
= note: `#[deny(clippy::incorrect_partial_ord_impl_on_ord_type)]` on by default
|
apple-sdk/src/lib.rs#L817
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> apple-sdk/src/lib.rs:817:1
|
817 | / impl PartialOrd for SdkVersion {
818 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
819 | || let a = self.normalized_version().unwrap_or((0, 0, 0));
820 | || let b = other.normalized_version().unwrap_or((0, 0, 0));
821 | ||
822 | || a.partial_cmp(&b)
823 | || }
| ||_____- help: change this to: `{ Some(self.cmp(other)) }`
824 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
apple-bom/src/format.rs#L935
warning: unneeded unit expression
--> apple-bom/src/format.rs:935:39
|
935 | #[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)
|
apple-bom/src/format.rs#L951
warning: unneeded unit expression
--> apple-bom/src/format.rs:951:39
|
951 | #[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)
|
The logs for this run have expired and are no longer available.
Loading