[SERVER] error[E0433]: failed to resolve: could not find `sys` in `nix`
[SERVER] --> bb_server\src\world\mod.rs:916:7
[SERVER] |
[SERVER] 916 | sys::signal::{signal, SigHandler, Signal},
[SERVER] | ^^^ could not find `sys` in `nix`
[SERVER]
[SERVER] error[E0432]: unresolved import `nix::libc`
[SERVER] --> bb_server\src\world\mod.rs:915:7
[SERVER] |
[SERVER] 915 | libc,
[SERVER] | ^^^^ no `libc` in the root
[SERVER]
[SERVER] error[E0433]: failed to resolve: use of undeclared type `SigHandler`
[SERVER] --> bb_server\src\world\mod.rs:930:19
[SERVER] |
[SERVER] 930 | let handler = SigHandler::Handler(handle_sigint);
[SERVER] | ^^^^^^^^^^ use of undeclared type `SigHandler`
[SERVER]
[SERVER] error[E0433]: failed to resolve: use of undeclared type `Signal`
[SERVER] --> bb_server\src\world\mod.rs:931:21
[SERVER] |
[SERVER] 931 | unsafe { signal(Signal::SIGINT, handler) }.unwrap();
[SERVER] | ^^^^^^ use of undeclared type `Signal`
[SERVER]
[SERVER] error[E0425]: cannot find function `signal` in this scope
[SERVER] --> bb_server\src\world\mod.rs:931:14
[SERVER] |
[SERVER] 931 | unsafe { signal(Signal::SIGINT, handler) }.unwrap();
[SERVER] | ^^^^^^ not found in this scope
[SERVER]
[SERVER] warning: unused import: `Pos`
[SERVER] --> bb_server\src\entity\mod.rs:13:16
[SERVER] |
[SERVER] 13 | math::{FPos, Pos},
[SERVER] | ^^^
[SERVER] |
[SERVER] = note: `#[warn(unused_imports)]` on by default
[SERVER]
[SERVER] Some errors have detailed explanations: E0425, E0432, E0433.
[SERVER] For more information about an error, try `rustc --explain E0425`.
[SERVER] warning: `bb_server` (lib) generated 1 warning
[SERVER] error: could not compile `bb_server` due to 5 previous errors; 1 warning emitted