Compiling beamup v0.1.0 (D:\a\beamup\beamup)
error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys`
--> src\run.rs:31:9
|
31 | use windows_sys::Win32::Foundation::{BOOL, FALSE, TRUE};
| ^^^^^^^^^^^ use of undeclared crate or module `windows_sys`
error[E0433]: failed to resolve: use of undeclared crate or module `windows_sys`
--> src\run.rs:32:9
|
32 | use windows_sys::Win32::System::Console::SetConsoleCtrlHandler;
| ^^^^^^^^^^^ use of undeclared crate or module `windows_sys`
error[E0433]: failed to resolve: use of undeclared crate or module `io`
--> src\run.rs:40:24
|
40 | return Err(io::Error::new(
| ^^ use of undeclared crate or module `io`
|
help: consider importing one of these items
|
1 + use clap::Error;
|
1 + use clap::error::Error;
|
1 + use core::error::Error;
|
1 + use core::fmt::Error;
|
and 13 other candidates
help: if you import `Error`, refer to it directly
|
40 - return Err(io::Error::new(
40 + return Err(Error::new(
|
error[E0433]: failed to resolve: use of undeclared crate or module `io`
--> src\run.rs:41:17
|
41 | io::ErrorKind::Other,
| ^^ use of undeclared crate or module `io`
|
help: consider importing one of these items
|
1 + use clap::error::ErrorKind;
|
1 + use std::io::ErrorKind;
|
1 + use tokio::io::ErrorKind;
|
1 + use ureq::ErrorKind;
|
help: if you import `ErrorKind`, refer to it directly
|
41 - io::ErrorKind::Other,
41 + ErrorKind::Other,
|
error[E0308]: mismatched types
--> src\run.rs:47:5
|
30 | fn exec(cmd: &mut Command) -> Result<(), Report> {
| ------------------ expected `Result<(), ErrReport>` because of return type
...
47 | cmd.status()
| ^^^^^^^^^^^^ expected `Result<(), Report>`, found `Result<ExitStatus, Error>`
|
= note: expected enum `Result<(), ErrReport>`
found enum `Result<ExitStatus, std::io::Error>`
Currently the build fails on Windows.