You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked cargo check for the package and I am getting this error
PS C:\Users\Administrator\rust_files\packages\rip> cargo check
Checking rm-improved v0.13.1 (C:\Users\Administrator\rust_files\packages\rip)
error[E0433]: failed to resolve: could not find unix in os
--> src/main.rs:12:14
|
12 | use std::os::unix::fs::{FileTypeExt, PermissionsExt};
| ^^^^ could not find unix in os
error[E0433]: failed to resolve: could not find unix in os
--> src/main.rs:408:18
|
408 | std::os::unix::fs::symlink(target, dest)?;
| ^^^^ could not find unix in os
error[E0599]: no method named is_fifo found for struct FileType in the current scope
--> src/main.rs:400:24
|
400 | } else if filetype.is_fifo() {
| ^^^^^^^ help: there is a method with a similar name: is_file
error[E0599]: no method named mode found for struct Permissions in the current scope
--> src/main.rs:401:43
|
401 | let mode = metadata.permissions().mode();
| ^^^^ method not found in Permissions
Some errors have detailed explanations: E0433, E0599.
For more information about an error, try rustc --explain E0433.
error: could not compile rm-improved (bin "rip") due to 4 previous errors
The text was updated successfully, but these errors were encountered:
I checked cargo check for the package and I am getting this error
PS C:\Users\Administrator\rust_files\packages\rip> cargo check
Checking rm-improved v0.13.1 (C:\Users\Administrator\rust_files\packages\rip)
error[E0433]: failed to resolve: could not find
unix
inos
--> src/main.rs:12:14
|
12 | use std::os::unix::fs::{FileTypeExt, PermissionsExt};
| ^^^^ could not find
unix
inos
error[E0433]: failed to resolve: could not find
unix
inos
--> src/main.rs:408:18
|
408 | std::os::unix::fs::symlink(target, dest)?;
| ^^^^ could not find
unix
inos
error[E0599]: no method named
is_fifo
found for structFileType
in the current scope--> src/main.rs:400:24
|
400 | } else if filetype.is_fifo() {
| ^^^^^^^ help: there is a method with a similar name:
is_file
error[E0599]: no method named
mode
found for structPermissions
in the current scope--> src/main.rs:401:43
|
401 | let mode = metadata.permissions().mode();
| ^^^^ method not found in
Permissions
Some errors have detailed explanations: E0433, E0599.
For more information about an error, try
rustc --explain E0433
.error: could not compile
rm-improved
(bin "rip") due to 4 previous errorsThe text was updated successfully, but these errors were encountered: