-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
cargo install coreutils
get error:
error[E0308]: mismatched types
--> /home/test/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/uucore-0.0.23/src/lib/features/fs.rs:124:16
|
111 | pub fn number_of_links(&self) -> u64 {
| --- expected `u64` because of return type
...
124 | return self.0.st_nlink;
| ^^^^^^^^^^^^^^^ expected `u64`, found `u32`
|
help: you can convert a `u32` to a `u64`
|
124 | return self.0.st_nlink.into();
| +++++++
Compiling rand_chacha v0.3.1
For more information about this error, try `rustc --explain E0308`.
error: could not compile `uucore` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `coreutils v0.0.23`, intermediate artifacts can be found at `/tmp/cargo-installt39iFF`.
Metadata
Metadata
Assignees
Labels
No labels