There are errors after 'run cargo build ' command
error[E0432]: unresolved imports
tokio::net::UnixListener,
tokio::net::UnixStream--> C:\Users\don\.cargo\registry\src\github.com-1ecc6299db9ec823\hyperlocal-0.8.0\src\server.rs:17:22 | 17 | use tokio::net::{UnixListener, UnixStream}; | ^^^^^^^^^^^^ ^^^^^^^^^^ no
UnixStreamin
net| | | no
UnixListenerin
net| help: a similar name exists in the module:
TcpListener`
error[E0433]: failed to resolve: could not find UnixStream
in net
--> C:\Users\don.cargo\registry\src\github.com-1ecc6299db9ec823\hyperlocal-0.8.0\src\client.rs:29:39
|
29 | let unix_stream = tokio::net::UnixStream::connect(path).await?;
| ^^^^^^^^^^ could not find UnixStream
in net
error[E0412]: cannot find type UnixStream
in module tokio::net
--> C:\Users\don.cargo\registry\src\github.com-1ecc6299db9ec823\hyperlocal-0.8.0\src\client.rs:21:30
|
21 | unix_stream: tokio::net::UnixStream,
| ^^^^^^^^^^ not found in tokio::net
error[E0412]: cannot find type UnixStream
in module tokio::net
--> C:\Users\don.cargo\registry\src\github.com-1ecc6299db9ec823\hyperlocal-0.8.0\src\client.rs:21:30
|
21 | unix_stream: tokio::net::UnixStream,
| ^^^^^^^^^^ not found in tokio::net
|
help: consider importing this struct
|
1 | use crate::client::UnixStream;
|
Compiling reqwest v0.11.4
error: aborting due to 4 previous errors
Some errors have detailed explanations: E0412, E0432, E0433.
For more information about an error, try rustc --explain E0412
.
error: could not compile hyperlocal
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed`