relax sq.flags atomic read (#282) #233
Annotations
91 warnings
useless conversion to the same type: `usize`:
src/types.rs#L398
warning: useless conversion to the same type: `usize`
--> src/types.rs:398:34
|
398 | let msghdr_control_len = usize::try_from(msghdr.msg_controllen).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider removing `usize::try_from()`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
field assignment outside of initializer for an instance created with Default::default():
src/submit.rs#L545
warning: field assignment outside of initializer for an instance created with Default::default()
--> src/submit.rs:545:13
|
545 | arg.addr = user_data;
| ^^^^^^^^^^^^^^^^^^^^^
|
note: consider initializing the variable with `sys::io_uring_sync_cancel_reg { addr: user_data, fd: fd, flags: flags, timeout: timespec, ..Default::default() }` and removing relevant reassignments
--> src/submit.rs:544:13
|
544 | let mut arg = sys::io_uring_sync_cancel_reg::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
= note: `#[warn(clippy::field_reassign_with_default)]` on by default
|
lint `clippy::incorrect_clone_impl_on_copy_type` has been renamed to `clippy::non_canonical_clone_impl`:
src/sys/mod.rs#L11
warning: lint `clippy::incorrect_clone_impl_on_copy_type` has been renamed to `clippy::non_canonical_clone_impl`
--> src/sys/mod.rs:11:5
|
11 | clippy::incorrect_clone_impl_on_copy_type
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::non_canonical_clone_impl`
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
|
useless conversion to the same type: `usize`:
src/types.rs#L398
warning: useless conversion to the same type: `usize`
--> src/types.rs:398:34
|
398 | let msghdr_control_len = usize::try_from(msghdr.msg_controllen).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider removing `usize::try_from()`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
field assignment outside of initializer for an instance created with Default::default():
src/submit.rs#L545
warning: field assignment outside of initializer for an instance created with Default::default()
--> src/submit.rs:545:13
|
545 | arg.addr = user_data;
| ^^^^^^^^^^^^^^^^^^^^^
|
note: consider initializing the variable with `sys::io_uring_sync_cancel_reg { addr: user_data, fd: fd, flags: flags, timeout: timespec, ..Default::default() }` and removing relevant reassignments
--> src/submit.rs:544:13
|
544 | let mut arg = sys::io_uring_sync_cancel_reg::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
= note: `#[warn(clippy::field_reassign_with_default)]` on by default
|
lint `clippy::incorrect_clone_impl_on_copy_type` has been renamed to `clippy::non_canonical_clone_impl`:
src/sys/mod.rs#L11
warning: lint `clippy::incorrect_clone_impl_on_copy_type` has been renamed to `clippy::non_canonical_clone_impl`
--> src/sys/mod.rs:11:5
|
11 | clippy::incorrect_clone_impl_on_copy_type
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::non_canonical_clone_impl`
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
|
field assignment outside of initializer for an instance created with Default::default():
src/submit.rs#L545
warning: field assignment outside of initializer for an instance created with Default::default()
--> src/submit.rs:545:13
|
545 | arg.addr = user_data;
| ^^^^^^^^^^^^^^^^^^^^^
|
note: consider initializing the variable with `sys::io_uring_sync_cancel_reg { addr: user_data, fd: fd, flags: flags, timeout: timespec, ..Default::default() }` and removing relevant reassignments
--> src/submit.rs:544:13
|
544 | let mut arg = sys::io_uring_sync_cancel_reg::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
= note: `#[warn(clippy::field_reassign_with_default)]` on by default
|
lint `clippy::incorrect_clone_impl_on_copy_type` has been renamed to `clippy::non_canonical_clone_impl`:
src/sys/mod.rs#L11
warning: lint `clippy::incorrect_clone_impl_on_copy_type` has been renamed to `clippy::non_canonical_clone_impl`
--> src/sys/mod.rs:11:5
|
11 | clippy::incorrect_clone_impl_on_copy_type
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::non_canonical_clone_impl`
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
|
check (nightly, x86_64-unknown-linux-gnu)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check (nightly, x86_64-unknown-linux-gnu)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check (nightly, x86_64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (nightly, x86_64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (nightly, x86_64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (nightly, x86_64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
useless conversion to the same type: `usize`:
src/types.rs#L398
warning: useless conversion to the same type: `usize`
--> src/types.rs:398:34
|
398 | let msghdr_control_len = usize::try_from(msghdr.msg_controllen).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider removing `usize::try_from()`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
field assignment outside of initializer for an instance created with Default::default():
src/submit.rs#L545
warning: field assignment outside of initializer for an instance created with Default::default()
--> src/submit.rs:545:13
|
545 | arg.addr = user_data;
| ^^^^^^^^^^^^^^^^^^^^^
|
note: consider initializing the variable with `sys::io_uring_sync_cancel_reg { addr: user_data, fd: fd, flags: flags, timeout: timespec, ..Default::default() }` and removing relevant reassignments
--> src/submit.rs:544:13
|
544 | let mut arg = sys::io_uring_sync_cancel_reg::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
= note: `#[warn(clippy::field_reassign_with_default)]` on by default
|
lint `clippy::incorrect_clone_impl_on_copy_type` has been renamed to `clippy::non_canonical_clone_impl`:
src/sys/mod.rs#L11
warning: lint `clippy::incorrect_clone_impl_on_copy_type` has been renamed to `clippy::non_canonical_clone_impl`
--> src/sys/mod.rs:11:5
|
11 | clippy::incorrect_clone_impl_on_copy_type
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::non_canonical_clone_impl`
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
|
check (nightly, i686-unknown-linux-gnu)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check (nightly, i686-unknown-linux-gnu)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check (nightly, i686-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (nightly, i686-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (nightly, i686-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (nightly, i686-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (nightly, x86_64-unknown-linux-musl)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check (nightly, x86_64-unknown-linux-musl)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check (nightly, x86_64-unknown-linux-musl)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (nightly, x86_64-unknown-linux-musl)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (nightly, x86_64-unknown-linux-musl)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (nightly, x86_64-unknown-linux-musl)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (nightly, aarch64-unknown-linux-gnu)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check (nightly, aarch64-unknown-linux-gnu)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check (nightly, aarch64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (nightly, aarch64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (nightly, aarch64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (nightly, aarch64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
useless conversion to the same type: `usize`:
src/types.rs#L398
warning: useless conversion to the same type: `usize`
--> src/types.rs:398:34
|
398 | let msghdr_control_len = usize::try_from(msghdr.msg_controllen).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider removing `usize::try_from()`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
field assignment outside of initializer for an instance created with Default::default():
src/submit.rs#L545
warning: field assignment outside of initializer for an instance created with Default::default()
--> src/submit.rs:545:13
|
545 | arg.addr = user_data;
| ^^^^^^^^^^^^^^^^^^^^^
|
note: consider initializing the variable with `sys::io_uring_sync_cancel_reg { addr: user_data, fd: fd, flags: flags, timeout: timespec, ..Default::default() }` and removing relevant reassignments
--> src/submit.rs:544:13
|
544 | let mut arg = sys::io_uring_sync_cancel_reg::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
= note: `#[warn(clippy::field_reassign_with_default)]` on by default
|
lint `clippy::incorrect_clone_impl_on_copy_type` has been renamed to `clippy::non_canonical_clone_impl`:
src/sys/mod.rs#L11
warning: lint `clippy::incorrect_clone_impl_on_copy_type` has been renamed to `clippy::non_canonical_clone_impl`
--> src/sys/mod.rs:11:5
|
11 | clippy::incorrect_clone_impl_on_copy_type
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::non_canonical_clone_impl`
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
|
check-bench (x86_64-unknown-linux-gnu)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check-bench (x86_64-unknown-linux-gnu)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check-bench (x86_64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-bench (x86_64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-bench (x86_64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-bench (x86_64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
tests (x86_64-unknown-linux-gnu)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (x86_64-unknown-linux-gnu)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
tests (aarch64-unknown-linux-gnu)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests (aarch64-unknown-linux-gnu)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
useless conversion to the same type: `usize`:
src/types.rs#L398
warning: useless conversion to the same type: `usize`
--> src/types.rs:398:34
|
398 | let msghdr_control_len = usize::try_from(msghdr.msg_controllen).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(clippy::useless_conversion)]` on by default
= help: consider removing `usize::try_from()`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
unknown clippy lint: clippy::result_unit_err:
src/types.rs#L395
warning: unknown clippy lint: clippy::result_unit_err
--> src/types.rs:395:13
|
395 | #[allow(clippy::result_unit_err)]
| ^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::result_map_unit_fn`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unknown_clippy_lints
|
unknown clippy lint: clippy::incorrect_clone_impl_on_copy_type:
src/sys/mod.rs#L11
warning: unknown clippy lint: clippy::incorrect_clone_impl_on_copy_type
--> src/sys/mod.rs:11:5
|
11 | clippy::incorrect_clone_impl_on_copy_type
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(clippy::unknown_clippy_lints)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unknown_clippy_lints
|
transmute from a reference to a reference:
src/sys/sys.rs#L46
warning: transmute from a reference to a reference
--> src/sys/sys.rs:46:9
|
46 | ::core::mem::transmute(self)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut *(self as *mut sys::__BindgenUnionField<T> as *mut T)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
|
transmute from a reference to a reference:
src/sys/sys.rs#L42
warning: transmute from a reference to a reference
--> src/sys/sys.rs:42:9
|
42 | ::core::mem::transmute(self)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(self as *const sys::__BindgenUnionField<T> as *const T)`
|
= note: `#[warn(clippy::transmute_ptr_to_ptr)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
|
unknown clippy lint: clippy::result_unit_err:
src/types.rs#L395
warning: unknown clippy lint: clippy::result_unit_err
--> src/types.rs:395:13
|
395 | #[allow(clippy::result_unit_err)]
| ^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::result_map_unit_fn`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unknown_clippy_lints
|
unknown clippy lint: clippy::incorrect_clone_impl_on_copy_type:
src/sys/mod.rs#L11
warning: unknown clippy lint: clippy::incorrect_clone_impl_on_copy_type
--> src/sys/mod.rs:11:5
|
11 | clippy::incorrect_clone_impl_on_copy_type
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(clippy::unknown_clippy_lints)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unknown_clippy_lints
|
transmute from a reference to a reference:
src/sys/sys.rs#L46
warning: transmute from a reference to a reference
--> src/sys/sys.rs:46:9
|
46 | ::core::mem::transmute(self)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut *(self as *mut sys::__BindgenUnionField<T> as *mut T)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
|
transmute from a reference to a reference:
src/sys/sys.rs#L42
warning: transmute from a reference to a reference
--> src/sys/sys.rs:42:9
|
42 | ::core::mem::transmute(self)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(self as *const sys::__BindgenUnionField<T> as *const T)`
|
= note: `#[warn(clippy::transmute_ptr_to_ptr)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
|
useless conversion to the same type: `usize`:
src/types.rs#L398
warning: useless conversion to the same type: `usize`
--> src/types.rs:398:34
|
398 | let msghdr_control_len = usize::try_from(msghdr.msg_controllen).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(clippy::useless_conversion)]` on by default
= help: consider removing `usize::try_from()`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
unknown clippy lint: clippy::result_unit_err:
src/types.rs#L395
warning: unknown clippy lint: clippy::result_unit_err
--> src/types.rs:395:13
|
395 | #[allow(clippy::result_unit_err)]
| ^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::result_map_unit_fn`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unknown_clippy_lints
|
unknown clippy lint: clippy::incorrect_clone_impl_on_copy_type:
src/sys/mod.rs#L11
warning: unknown clippy lint: clippy::incorrect_clone_impl_on_copy_type
--> src/sys/mod.rs:11:5
|
11 | clippy::incorrect_clone_impl_on_copy_type
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(clippy::unknown_clippy_lints)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unknown_clippy_lints
|
transmute from a reference to a reference:
src/sys/sys.rs#L46
warning: transmute from a reference to a reference
--> src/sys/sys.rs:46:9
|
46 | ::core::mem::transmute(self)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut *(self as *mut sys::__BindgenUnionField<T> as *mut T)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
|
transmute from a reference to a reference:
src/sys/sys.rs#L42
warning: transmute from a reference to a reference
--> src/sys/sys.rs:42:9
|
42 | ::core::mem::transmute(self)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(self as *const sys::__BindgenUnionField<T> as *const T)`
|
= note: `#[warn(clippy::transmute_ptr_to_ptr)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
|
useless conversion to the same type: `usize`:
src/types.rs#L398
warning: useless conversion to the same type: `usize`
--> src/types.rs:398:34
|
398 | let msghdr_control_len = usize::try_from(msghdr.msg_controllen).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(clippy::useless_conversion)]` on by default
= help: consider removing `usize::try_from()`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
unknown clippy lint: clippy::result_unit_err:
src/types.rs#L395
warning: unknown clippy lint: clippy::result_unit_err
--> src/types.rs:395:13
|
395 | #[allow(clippy::result_unit_err)]
| ^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::result_map_unit_fn`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unknown_clippy_lints
|
unknown clippy lint: clippy::incorrect_clone_impl_on_copy_type:
src/sys/mod.rs#L11
warning: unknown clippy lint: clippy::incorrect_clone_impl_on_copy_type
--> src/sys/mod.rs:11:5
|
11 | clippy::incorrect_clone_impl_on_copy_type
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(clippy::unknown_clippy_lints)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unknown_clippy_lints
|
transmute from a reference to a reference:
src/sys/sys.rs#L46
warning: transmute from a reference to a reference
--> src/sys/sys.rs:46:9
|
46 | ::core::mem::transmute(self)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut *(self as *mut sys::__BindgenUnionField<T> as *mut T)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
|
transmute from a reference to a reference:
src/sys/sys.rs#L42
warning: transmute from a reference to a reference
--> src/sys/sys.rs:42:9
|
42 | ::core::mem::transmute(self)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(self as *const sys::__BindgenUnionField<T> as *const T)`
|
= note: `#[warn(clippy::transmute_ptr_to_ptr)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
|
check (1.48, i686-unknown-linux-gnu)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check (1.48, i686-unknown-linux-gnu)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check (1.48, i686-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (1.48, i686-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (1.48, i686-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (1.48, i686-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (1.48, x86_64-unknown-linux-musl)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check (1.48, x86_64-unknown-linux-musl)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check (1.48, x86_64-unknown-linux-musl)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (1.48, x86_64-unknown-linux-musl)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (1.48, x86_64-unknown-linux-musl)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (1.48, x86_64-unknown-linux-musl)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (1.48, aarch64-unknown-linux-gnu)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check (1.48, aarch64-unknown-linux-gnu)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check (1.48, aarch64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (1.48, aarch64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (1.48, aarch64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (1.48, aarch64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (1.48, x86_64-unknown-linux-gnu)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check (1.48, x86_64-unknown-linux-gnu)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check (1.48, x86_64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (1.48, x86_64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (1.48, x86_64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (1.48, x86_64-unknown-linux-gnu)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|