Created
March 14, 2024 06:35
-
-
Save HamdaanAliQuatil/b29ee9d43c3864ed4d0d9a25f49f0c71 to your computer and use it in GitHub Desktop.
kanidm-log-windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS E:\kanidm> cargo test | |
warning: unused variable: `path` | |
--> libs\file_permissions\src\windows.rs:21:22 | |
| | |
21 | pub fn diagnose_path(path: &Path) -> Diagnosis { | |
| ^^^^ help: if this is intentional, prefix it with an underscore: `_path` | |
| | |
= note: `#[warn(unused_variables)]` on by default | |
warning: `kanidm_lib_file_permissions` (lib) generated 1 warning (run `cargo fix --lib -p kanidm_lib_file_permissions` to apply 1 suggestion) | |
Compiling kanidmd_core v1.2.0-dev (E:\kanidm\server\core) | |
Compiling kanidmd_lib v1.2.0-dev (E:\kanidm\server\lib) | |
Compiling orca v1.2.0-dev (E:\kanidm\tools\orca) | |
Compiling kanidm-ldap-sync v1.2.0-dev (E:\kanidm\tools\iam_migrations\ldap) | |
Compiling kanidm_tools v1.2.0-dev (E:\kanidm\tools\cli) | |
Compiling kanidm-ipa-sync v1.2.0-dev (E:\kanidm\tools\iam_migrations\freeipa) | |
Compiling kanidmd_web_ui_user v1.2.0-dev (E:\kanidm\server\web_ui\user) | |
error[E0433]: failed to resolve: could not find `unix` in `signal` | |
--> tools\orca\src/main.rs:239:54 | |
| | |
239 | let sigterm = tokio::signal::unix::SignalKind::terminate(); | |
| ^^^^ could not find `unix` in `signal` | |
error[E0433]: failed to resolve: could not find `unix` in `signal` | |
--> tools\orca\src/main.rs:241:40 | |
| | |
241 | tokio::signal::unix::signal(sigterm).unwrap().recv().await | |
| ^^^^ could not find `unix` in `signal` | |
error[E0433]: failed to resolve: could not find `unix` in `signal` | |
--> tools\orca\src/main.rs:247:54 | |
| | |
247 | let sigterm = tokio::signal::unix::SignalKind::alarm(); | |
| ^^^^ could not find `unix` in `signal` | |
error[E0433]: failed to resolve: could not find `unix` in `signal` | |
--> tools\orca\src/main.rs:249:40 | |
| | |
249 | tokio::signal::unix::signal(sigterm).unwrap().recv().await | |
| ^^^^ could not find `unix` in `signal` | |
error[E0433]: failed to resolve: could not find `unix` in `signal` | |
--> tools\orca\src/main.rs:254:54 | |
| | |
254 | let sigterm = tokio::signal::unix::SignalKind::hangup(); | |
| ^^^^ could not find `unix` in `signal` | |
error[E0433]: failed to resolve: could not find `unix` in `signal` | |
--> tools\orca\src/main.rs:256:40 | |
| | |
256 | tokio::signal::unix::signal(sigterm).unwrap().recv().await | |
| ^^^^ could not find `unix` in `signal` | |
error[E0433]: failed to resolve: could not find `unix` in `signal` | |
--> tools\orca\src/main.rs:261:54 | |
| | |
261 | let sigterm = tokio::signal::unix::SignalKind::user_defined1(); | |
| ^^^^ could not find `unix` in `signal` | |
error[E0433]: failed to resolve: could not find `unix` in `signal` | |
--> tools\orca\src/main.rs:263:40 | |
| | |
263 | tokio::signal::unix::signal(sigterm).unwrap().recv().await | |
| ^^^^ could not find `unix` in `signal` | |
error[E0433]: failed to resolve: could not find `unix` in `signal` | |
--> tools\orca\src/main.rs:268:54 | |
| | |
268 | let sigterm = tokio::signal::unix::SignalKind::user_defined2(); | |
| ^^^^ could not find `unix` in `signal` | |
error[E0433]: failed to resolve: could not find `unix` in `signal` | |
--> tools\orca\src/main.rs:270:40 | |
| | |
270 | tokio::signal::unix::signal(sigterm).unwrap().recv().await | |
| ^^^^ could not find `unix` in `signal` | |
For more information about this error, try `rustc --explain E0433`. | |
error: could not compile `orca` (bin "orca" test) due to 10 previous errors | |
warning: build failed, waiting for other jobs to finish... | |
error[E0432]: unresolved import `kanidm_utils_users::get_current_uid` | |
--> server\core\src\admin.rs:7:5 | |
| | |
7 | use kanidm_utils_users::get_current_uid; | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `get_current_uid` in the root | |
error[E0432]: unresolved imports `tokio::net::UnixListener`, `tokio::net::UnixStream` | |
--> server\core\src\admin.rs:12:18 | |
| | |
12 | use tokio::net::{UnixListener, UnixStream}; | |
| ^^^^^^^^^^^^ ^^^^^^^^^^ no `UnixStream` in `net` | |
| | | |
| no `UnixListener` in `net` | |
| help: a similar name exists in the module: `TcpListener` | |
| | |
note: found an item that was configured out | |
--> C:\Users\Hamdaan\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tokio-1.36.0\src\net\mod.rs:50:29 | |
| | |
50 | pub use unix::listener::UnixListener; | |
| ^^^^^^^^^^^^ | |
note: found an item that was configured out | |
--> C:\Users\Hamdaan\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tokio-1.36.0\src\net\mod.rs:51:27 | |
| | |
51 | pub use unix::stream::UnixStream; | |
| ^^^^^^^^^^ | |
error: unused import: `SinkExt` | |
--> server\core\src\admin.rs:5:15 | |
| | |
5 | use futures::{SinkExt, StreamExt}; | |
| ^^^^^^^ | |
| | |
note: the lint level is defined here | |
--> server\core\src\lib.rs:11:9 | |
| | |
11 | #![deny(warnings)] | |
| ^^^^^^^^ | |
= note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` | |
error: unused import: `StreamExt` | |
--> server\core\src\admin.rs:5:24 | |
| | |
5 | use futures::{SinkExt, StreamExt}; | |
| ^^^^^^^^^ | |
For more information about this error, try `rustc --explain E0432`. | |
error: could not compile `kanidmd_core` (lib) due to 4 previous errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment