adopt core::error::Error, update nightly, update bootloader #1427
ci.yml
on: pull_request
changed_paths
5s
cargo check (host)
3m 36s
rustfmt
12s
clippy
2m 39s
cargo test (host)
4m 37s
build boot image (x86_64)
3m 38s
cargo test (cross x64)
4m 50s
docs
4m 8s
Loom tests (cordyceps)
1m 24s
Miri tests (cordyceps)
2m 56s
Tests (maitake, no-default-features)
1m 30s
Loom tests (maitake)
4m 10s
Miri tests (maitake)
33m 24s
all_systems_go
0s
Annotations
1 error and 30 warnings
cargo test (cross x64)
Process completed with exit code 1.
|
changed_paths
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
rustfmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loom tests (cordyceps)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (maitake, no-default-features)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
clippy:
maitake-sync/src/util/maybe_uninit.rs#L371
warning: empty line after doc comment
--> maitake-sync/src/util/maybe_uninit.rs:367:5
|
367 | / /// ```
368 | |
| |_^
...
371 | pub unsafe fn assume_init_mut(&mut self) -> &mut T {
| -------------------------------------------------- the comment documents this method
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default
= help: if the empty line is unintentional remove it
|
clippy:
maitake-sync/src/util/maybe_uninit.rs#L367
warning: empty line after doc comment
--> maitake-sync/src/util/maybe_uninit.rs:367:5
|
367 | / /// ```
368 | |
| |_^
...
371 | pub unsafe fn assume_init_mut(&mut self) -> &mut T {
| -------------------------------------------------- the comment documents this method
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default
= help: if the empty line is unintentional remove it
|
clippy:
maitake-sync/src/mutex.rs#L98
warning: empty line after doc comment
--> maitake-sync/src/mutex.rs:96:1
|
96 | / /// [no-unwinding]: https://mycelium.elizas.website/maitake/index.html#maitake-does-not-support-unwinding
97 | |
| |_^
98 | pub struct Mutex<T: ?Sized, L: ScopedRawMutex = DefaultMutex> {
| ------------------------------------------------------------- the comment documents this struct
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= help: if the empty line is unintentional remove it
|
clippy:
maitake-sync/src/mutex.rs#L96
warning: empty line after doc comment
--> maitake-sync/src/mutex.rs:96:1
|
96 | / /// [no-unwinding]: https://mycelium.elizas.website/maitake/index.html#maitake-does-not-support-unwinding
97 | |
| |_^
98 | pub struct Mutex<T: ?Sized, L: ScopedRawMutex = DefaultMutex> {
| ------------------------------------------------------------- the comment documents this struct
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= help: if the empty line is unintentional remove it
|
clippy:
maitake-sync/src/semaphore.rs#L235
warning: the following explicit lifetimes could be elided: 'sem
--> maitake-sync/src/semaphore.rs:235:20
|
235 | pub struct Acquire<'sem, Lock: RawMutex = Spinlock> {
| ^^^^
|
= 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
|
235 - pub struct Acquire<'sem, Lock: RawMutex = Spinlock> {
235 + pub struct Acquire<'_, Lock: RawMutex = Spinlock> {
|
|
clippy:
maitake-sync/src/util.rs#L126
warning: you should consider adding a `Default` implementation for `WaitCell`
--> maitake-sync/src/util.rs:126:9
|
126 | $vis const fn $name($($arg: $T),*) -> $Ret $body
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: maitake-sync/src/wait_cell.rs:94:5
|
94 | / loom_const_fn! {
95 | | /// Returns a new `WaitCell`, with no [`Waker`] stored in it.
96 | | #[must_use]
97 | | pub fn new() -> Self {
... |
103 | | }
| |_____- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
= note: this warning originates in the macro `loom_const_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
help: try adding this
--> maitake-sync/src/wait_cell.rs:93:1
|
93 + impl Default for WaitCell {
94 + fn default() -> Self {
95 + Self::new()
96 + }
97 + }
|
|
clippy:
maitake-sync/src/wait_map.rs#L245
warning: the following explicit lifetimes could be elided: 'a
--> maitake-sync/src/wait_map.rs:245:17
|
245 | pub struct Wait<'a, K: PartialEq, V, Lock: ScopedRawMutex = DefaultMutex> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
245 - pub struct Wait<'a, K: PartialEq, V, Lock: ScopedRawMutex = DefaultMutex> {
245 + pub struct Wait<'_, K: PartialEq, V, Lock: ScopedRawMutex = DefaultMutex> {
|
|
clippy:
maitake-sync/src/util.rs#L126
warning: you should consider adding a `Default` implementation for `WaitMap<K, V>`
--> maitake-sync/src/util.rs:126:9
|
126 | $vis const fn $name($($arg: $T),*) -> $Ret $body
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: maitake-sync/src/wait_map.rs:451:5
|
451 | / loom_const_fn! {
452 | | /// Returns a new `WaitMap`.
453 | | ///
454 | | /// This constructor returns a `WaitMap` that uses a [`DefaultMutex`] as
... |
465 | | }
| |_____- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: this warning originates in the macro `loom_const_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
help: try adding this
--> maitake-sync/src/wait_map.rs:450:1
|
450 + impl<K: PartialEq, V> Default for WaitMap<K, V> {
451 + fn default() -> Self {
452 + Self::new()
453 + }
454 + }
|
|
clippy:
maitake-sync/src/wait_map.rs#L728
warning: the following explicit lifetimes could be elided: 'a, 'b
--> maitake-sync/src/wait_map.rs:728:6
|
728 | impl<'a, 'b, K, V, Lock> Future for Subscribe<'a, 'b, K, V, Lock>
| ^^ ^^ ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
728 - impl<'a, 'b, K, V, Lock> Future for Subscribe<'a, 'b, K, V, Lock>
728 + impl<K, V, Lock> Future for Subscribe<'_, '_, K, V, Lock>
|
|
clippy:
maitake-sync/src/wait_map.rs#L728
warning: the following explicit lifetimes could be elided: 'a, 'b
--> maitake-sync/src/wait_map.rs:728:6
|
728 | impl<'a, 'b, K, V, Lock> Future for Subscribe<'a, 'b, K, V, Lock>
| ^^ ^^ ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
728 - impl<'a, 'b, K, V, Lock> Future for Subscribe<'a, 'b, K, V, Lock>
728 + impl<K, V, Lock> Future for Subscribe<'_, '_, K, V, Lock>
|
|
Miri tests (cordyceps)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
cargo check (host)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
cargo check (host):
maitake-sync/src/lib.rs#L5
warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable
--> maitake-sync/src/lib.rs:5:45
|
5 | #![cfg_attr(feature = "core-error", feature(error_in_core))]
| ^^^^^^^^^^^^^
|
= note: `#[warn(stable_features)]` on by default
|
cargo check (host):
maitake/src/lib.rs#L5
warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable
--> maitake/src/lib.rs:5:45
|
5 | #![cfg_attr(feature = "core-error", feature(error_in_core))]
| ^^^^^^^^^^^^^
|
= note: `#[warn(stable_features)]` on by default
|
cargo check (host):
maitake-sync/src/lib.rs#L5
warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable
--> maitake-sync/src/lib.rs:5:45
|
5 | #![cfg_attr(feature = "core-error", feature(error_in_core))]
| ^^^^^^^^^^^^^
|
= note: `#[warn(stable_features)]` on by default
|
cargo check (host):
maitake/src/lib.rs#L5
warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable
--> maitake/src/lib.rs:5:45
|
5 | #![cfg_attr(feature = "core-error", feature(error_in_core))]
| ^^^^^^^^^^^^^
|
= note: `#[warn(stable_features)]` on by default
|
cargo check (host):
trace/src/embedded_graphics.rs#L132
warning: unused variable: `actual_point`
--> trace/src/embedded_graphics.rs:132:17
|
132 | Err(actual_point) => unsafe {
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_point`
|
= note: `#[warn(unused_variables)]` on by default
|
build boot image (x86_64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
docs:
maitake-sync/src/lib.rs#L5
warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable
--> maitake-sync/src/lib.rs:5:45
|
5 | #![cfg_attr(feature = "core-error", feature(error_in_core))]
| ^^^^^^^^^^^^^
|
= note: `#[warn(stable_features)]` on by default
|
docs:
maitake/src/lib.rs#L5
warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable
--> maitake/src/lib.rs:5:45
|
5 | #![cfg_attr(feature = "core-error", feature(error_in_core))]
| ^^^^^^^^^^^^^
|
= note: `#[warn(stable_features)]` on by default
|
Loom tests (maitake)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
cargo test (host)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
cargo test (cross x64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Miri tests (maitake)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|