Fix the error with types on tmpfile #190
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
2 errors and 5 warnings
mismatched types:
/home/runner/work/QuantumOS/QuantumOS/lib/fs/src/filesystems/tmpfs/dir.rs#L81
error[E0308]: mismatched types
--> /home/runner/work/QuantumOS/QuantumOS/lib/fs/src/filesystems/tmpfs/dir.rs:81:9
|
80 | fn len(&self) -> u64 {
| --- expected `u64` because of return type
81 | self.entries.len()
| ^^^^^^^^^^^^^^^^^^ expected `u64`, found `usize`
|
help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit
|
81 | self.entries.len().try_into().unwrap()
| ++++++++++++++++++++
|
clippy_check
Clippy had exited with the 101 exit code
|
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy_check
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/
|
clippy_check
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/
|
clippy_check
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/
|
clippy_check
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/
|