feat(d1): add smhc driver #829
Annotations
5 errors and 1 warning
source/kernel/src/services/sdmmc.rs#L196
error[E0277]: expected a `FnOnce<(&str,)>` closure, found `core::result::Result<(), _>`
--> source/kernel/src/services/sdmmc.rs:196:52
|
196 | self.message.map_or_else(|msg| msg.fmt(f), Ok(()))
| ----------- ^^^^^^ expected an `FnOnce<(&str,)>` closure, found `core::result::Result<(), _>`
| |
| required by a bound introduced by this call
|
= help: the trait `FnOnce<(&str,)>` is not implemented for `core::result::Result<(), _>`
note: required by a bound in `core::option::Option::<T>::map_or_else`
--> /home/runner/.rustup/toolchains/nightly-2023-08-08-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:1177:12
|
1174 | pub fn map_or_else<U, D, F>(self, default: D, f: F) -> U
| ----------- required by a bound in this associated function
...
1177 | F: FnOnce(T) -> U,
| ^^^^^^^^^^^^^^ required by this bound in `Option::<T>::map_or_else`
|
source/kernel/src/services/sdmmc.rs#L196
error[E0277]: expected a `FnOnce<(&str,)>` closure, found `core::result::Result<(), _>`
--> source/kernel/src/services/sdmmc.rs:196:52
|
196 | self.message.map_or_else(|msg| msg.fmt(f), Ok(()))
| ----------- ^^^^^^ expected an `FnOnce<(&str,)>` closure, found `core::result::Result<(), _>`
| |
| required by a bound introduced by this call
|
= help: the trait `FnOnce<(&str,)>` is not implemented for `core::result::Result<(), _>`
note: required by a bound in `core::option::Option::<T>::map_or_else`
--> /home/runner/.rustup/toolchains/nightly-2023-08-08-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:1177:12
|
1174 | pub fn map_or_else<U, D, F>(self, default: D, f: F) -> U
| ----------- required by a bound in this associated function
...
1177 | F: FnOnce(T) -> U,
| ^^^^^^^^^^^^^^ required by this bound in `Option::<T>::map_or_else`
|
source/kernel/src/services/sdmmc.rs#L196
error[E0593]: closure is expected to take 0 arguments, but it takes 1 argument
--> source/kernel/src/services/sdmmc.rs:196:22
|
196 | self.message.map_or_else(|msg| msg.fmt(f), Ok(()))
| ^^^^^^^^^^^ ----- takes 1 argument
| |
| expected closure that takes 0 arguments
|
source/kernel/src/services/sdmmc.rs#L196
error[E0593]: closure is expected to take 0 arguments, but it takes 1 argument
--> source/kernel/src/services/sdmmc.rs:196:22
|
196 | self.message.map_or_else(|msg| msg.fmt(f), Ok(()))
| ^^^^^^^^^^^ ----- takes 1 argument
| |
| expected closure that takes 0 arguments
|
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading