➜ cargo +nightly build
...
error[E0432]: unresolved import `time`
--> common/src/timer.rs:12:42
|
12 | #[cfg(not(target_arch = "wasm32"))] use time::Instant;
| ^^^^ help: a similar path exists: `std::time`
Compiling curv v0.2.3 (https://github.com/KZen-networks/curv?tag=v0.2.3#d6c575b5)
Compiling paillier v0.3.4 (https://github.com/KZen-networks/rust-paillier?tag=v0.3.4#564352cb)
warning: unused import: `ops::SubAssign`
--> common/src/timer.rs:7:5
|
7 | ops::SubAssign,
| ^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
error: aborting due to previous error; 1 warning emitted
For more information about this error, try `rustc --explain E0432`.
error: could not compile `common`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed