Latest nightly #648
Annotations
1 error and 15 warnings
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
bitfield/src/pack.rs#L704
warning: non-canonical implementation of `clone` on a `Copy` type
--> bitfield/src/pack.rs:704:41
|
704 | fn clone(&self) -> Self {
| _________________________________________^
705 | | Self {
706 | | mask: self.mask,
707 | | shift: self.shift,
708 | | _dst_ty: PhantomData,
709 | | }
710 | | }
| |_________________^ help: change this to: `{ *self }`
...
1080 | / make_packers! {
1081 | | pub struct PackUsize { bits: usize, packing: PackingUsize, pair: PairUsize }
1082 | | pub struct Pack64 { bits: u64, packing: Packing64, pair: Pair64, }
1083 | | pub struct Pack32 { bits: u32, packing: Packing32, pair: Pair32, }
1084 | | pub struct Pack16 { bits: u16, packing: Packing16, pair: Pair16, }
1085 | | pub struct Pack8 { bits: u8, packing: Packing8, pair: Pair8, }
1086 | | }
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl
= note: `#[warn(clippy::non_canonical_clone_impl)]` on by default
= note: this warning originates in the macro `make_packers` (in Nightly builds, run with -Z macro-backtrace for more info)
|
bitfield/src/pack.rs#L993
warning: non-canonical implementation of `clone` on a `Copy` type
--> bitfield/src/pack.rs:993:41
|
993 | fn clone(&self) -> Self {
| _________________________________________^
994 | | Self {
995 | | src: self.src,
996 | | dst: self.dst,
... |
999 | | }
1000 | | }
| |_________________^ help: change this to: `{ *self }`
...
1080 | / make_packers! {
1081 | | pub struct PackUsize { bits: usize, packing: PackingUsize, pair: PairUsize }
1082 | | pub struct Pack64 { bits: u64, packing: Packing64, pair: Pair64, }
1083 | | pub struct Pack32 { bits: u32, packing: Packing32, pair: Pair32, }
1084 | | pub struct Pack16 { bits: u16, packing: Packing16, pair: Pair16, }
1085 | | pub struct Pack8 { bits: u8, packing: Packing8, pair: Pair8, }
1086 | | }
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl
= note: this warning originates in the macro `make_packers` (in Nightly builds, run with -Z macro-backtrace for more info)
|
cordyceps/src/list.rs#L368
warning: redundant guard
--> cordyceps/src/list.rs:368:19
|
368 | at if at == 0 => return Some(mem::replace(self, Self::new())),
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards
= note: `#[warn(clippy::redundant_guards)]` on by default
help: try
|
368 - at if at == 0 => return Some(mem::replace(self, Self::new())),
368 + 0 => return Some(mem::replace(self, Self::new())),
|
|
bitfield/src/from_bits.rs#L153
warning: `&` without an explicit lifetime name cannot be used here
--> maitake-sync/src/wait_map.rs:330:1
|
330 | / enum_from_bits! {
331 | | /// The state of a [`Waiter`] node in a [`WaitMap`].
332 | | #[derive(Debug, Eq, PartialEq)]
333 | | enum WaitState<u8> {
... |
353 | | }
354 | | }
| |_^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #115010 <https://github.com/rust-lang/rust/issues/115010>
= note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default
= note: this warning originates in the macro `enum_from_bits` (in Nightly builds, run with -Z macro-backtrace for more info)
|
bitfield/src/from_bits.rs#L153
warning: `&` without an explicit lifetime name cannot be used here
--> maitake-sync/src/wait_queue.rs:268:1
|
268 | / enum_from_bits! {
269 | | /// The state of a [`Waiter`] node in a [`WaitQueue`].
270 | | #[derive(Debug, Eq, PartialEq)]
271 | | enum WaitState<u8> {
... |
295 | | }
296 | | }
| |_^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #115010 <https://github.com/rust-lang/rust/issues/115010>
= note: this warning originates in the macro `enum_from_bits` (in Nightly builds, run with -Z macro-backtrace for more info)
|
trace/src/color.rs#L239
warning: `&` without an explicit lifetime name cannot be used here
--> trace/src/color.rs:239:33
|
239 | const ANSI_FG_COLOR_TABLE: [&str; 17] = [
| ^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #115010 <https://github.com/rust-lang/rust/issues/115010>
= note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default
help: use the `'static` lifetime
|
239 | const ANSI_FG_COLOR_TABLE: [&'static str; 17] = [
| +++++++
|
bitfield/src/from_bits.rs#L153
warning: `&` without an explicit lifetime name cannot be used here
--> hal-x86_64/src/interrupt/apic/io.rs:47:1
|
47 | / enum_from_bits! {
48 | | #[derive(Debug, PartialEq, Eq)]
49 | | pub enum DestinationMode<u8> {
50 | | Physical = 0,
51 | | Logical = 1,
52 | | }
53 | | }
| |_^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #115010 <https://github.com/rust-lang/rust/issues/115010>
= note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default
= note: this warning originates in the macro `enum_from_bits` (in Nightly builds, run with -Z macro-backtrace for more info)
|
bitfield/src/from_bits.rs#L153
warning: `&` without an explicit lifetime name cannot be used here
--> hal-x86_64/src/interrupt/apic/io.rs:55:1
|
55 | / enum_from_bits! {
56 | | #[derive(Debug, PartialEq, Eq)]
57 | | pub enum DeliveryMode<u8> {
58 | | /// Normal interrupt delivery.
... |
70 | | }
71 | | }
| |_^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #115010 <https://github.com/rust-lang/rust/issues/115010>
= note: this warning originates in the macro `enum_from_bits` (in Nightly builds, run with -Z macro-backtrace for more info)
|
hal-x86_64/src/interrupt/apic/io.rs#L284
warning: unused import: `super::*`
--> hal-x86_64/src/interrupt/apic/io.rs:284:9
|
284 | use super::*;
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
bitfield/src/from_bits.rs#L153
warning: `&` without an explicit lifetime name cannot be used here
--> hal-x86_64/src/interrupt/apic/local.rs:456:5
|
456 | / enum_from_bits! {
457 | | #[derive(Debug, Eq, PartialEq)]
458 | | pub enum TimerMode<u8> {
459 | | /// One-shot mode, program count-down value in an initial-count register.
... |
465 | | }
466 | | }
| |_____^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #115010 <https://github.com/rust-lang/rust/issues/115010>
= note: this warning originates in the macro `enum_from_bits` (in Nightly builds, run with -Z macro-backtrace for more info)
|
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/
|
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/
|
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/
|
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/
|
The logs for this run have expired and are no longer available.
Loading