This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Bump nix from 0.26.2 to 0.27.1 #943
Annotations
2 errors and 1 warning
unresolved imports `nix::sys::signal::sigaction`, `nix::sys::signal::SaFlags`, `nix::sys::signal::SigAction`, `nix::sys::signal::SigHandler`, `nix::sys::signal::SigSet`, `nix::sys::signal::Signal`:
pretty_trace/src/lib.rs#L157
error[E0432]: unresolved imports `nix::sys::signal::sigaction`, `nix::sys::signal::SaFlags`, `nix::sys::signal::SigAction`, `nix::sys::signal::SigHandler`, `nix::sys::signal::SigSet`, `nix::sys::signal::Signal`
--> pretty_trace/src/lib.rs:157:24
|
157 | use nix::sys::signal::{sigaction, SaFlags, SigAction, SigHandler, SigSet, Signal};
| ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^ no `Signal` in `sys::signal`
| | | | | |
| | | | | no `SigSet` in `sys::signal`
| | | | no `SigHandler` in `sys::signal`
| | | no `SigAction` in `sys::signal`
| | no `SaFlags` in `sys::signal`
| no `sigaction` in `sys::signal`
|
= help: consider importing this struct instead:
libc::sigaction
|
rust
Clippy had exited with the 101 exit code
|
calling `set_len()` immediately after reserving a buffer creates uninitialized values:
vector_utils/src/lib.rs#L490
warning: calling `set_len()` immediately after reserving a buffer creates uninitialized values
--> vector_utils/src/lib.rs:490:5
|
490 | x.reserve(n);
| ^^^^^^^^^^^^^
491 | x.set_len(n); /* unsafe */
| ^^^^^^^^^^^^
|
= help: initialize the buffer or wrap the content in `MaybeUninit`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninit_vec
note: the lint level is defined here
--> vector_utils/src/lib.rs:487:8
|
487 | #[warn(clippy::uninit_vec)]
| ^^^^^^^^^^^^^^^^^^
|