Ignore clippy::out_of_bounds_indexing error #154
Annotations
99 warnings
field `0` is never read:
src/register.rs#L88
warning: field `0` is never read
--> src/register.rs:88:24
|
88 | pub struct Restriction(sys::io_uring_restriction);
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this struct
|
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
88 | pub struct Restriction(());
| ~~
|
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 `0` is never read:
src/register.rs#L88
warning: field `0` is never read
--> src/register.rs:88:24
|
88 | pub struct Restriction(sys::io_uring_restriction);
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this struct
|
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
88 | pub struct Restriction(());
| ~~
|
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 `0` is never read:
src/register.rs#L88
warning: field `0` is never read
--> src/register.rs:88:24
|
88 | pub struct Restriction(sys::io_uring_restriction);
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this struct
|
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
88 | pub struct Restriction(());
| ~~
|
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)
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-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/
|
field `0` is never read:
src/register.rs#L88
warning: field `0` is never read
--> src/register.rs:88:24
|
88 | pub struct Restriction(sys::io_uring_restriction);
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this struct
|
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
88 | pub struct Restriction(());
| ~~
|
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, 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/
|
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/
|
field `0` is never read:
src/register.rs#L88
warning: field `0` is never read
--> src/register.rs:88:24
|
88 | pub struct Restriction(sys::io_uring_restriction);
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this struct
|
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
88 | pub struct Restriction(());
| ~~
|
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)
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)
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/
|
unknown clippy lint: clippy::result_unit_err:
src/types.rs#L397
warning: unknown clippy lint: clippy::result_unit_err
--> src/types.rs:397:13
|
397 | #[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#L397
warning: unknown clippy lint: clippy::result_unit_err
--> src/types.rs:397:13
|
397 | #[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, 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/
|
unknown clippy lint: clippy::result_unit_err:
src/types.rs#L397
warning: unknown clippy lint: clippy::result_unit_err
--> src/types.rs:397:13
|
397 | #[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
|
field `0` is never read:
src/register.rs#L88
warning: field `0` is never read
--> src/register.rs:88:24
|
88 | pub struct Restriction(sys::io_uring_restriction);
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this struct
|
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
88 | pub struct Restriction(());
| ~~
|
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 (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/
|
unknown clippy lint: clippy::result_unit_err:
src/types.rs#L397
warning: unknown clippy lint: clippy::result_unit_err
--> src/types.rs:397:13
|
397 | #[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
|
field `0` is never read:
src/register.rs#L88
warning: field `0` is never read
--> src/register.rs:88:24
|
88 | pub struct Restriction(sys::io_uring_restriction);
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this struct
|
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
88 | pub struct Restriction(());
| ~~
|
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 (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/
|
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/
|
field `0` is never read:
src/register.rs#L88
warning: field `0` is never read
--> src/register.rs:88:24
|
88 | pub struct Restriction(sys::io_uring_restriction);
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this struct
|
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
88 | pub struct Restriction(());
| ~~
|
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 `0` is never read:
src/register.rs#L88
warning: field `0` is never read
--> src/register.rs:88:24
|
88 | pub struct Restriction(sys::io_uring_restriction);
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this struct
|
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
88 | pub struct Restriction(());
| ~~
|
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 (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/
|
field `0` is never read:
src/register.rs#L88
warning: field `0` is never read
--> src/register.rs:88:24
|
88 | pub struct Restriction(sys::io_uring_restriction);
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this struct
|
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
88 | pub struct Restriction(());
| ~~
|
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
|
unknown clippy lint: clippy::result_unit_err:
src/types.rs#L397
warning: unknown clippy lint: clippy::result_unit_err
--> src/types.rs:397:13
|
397 | #[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#L397
warning: unknown clippy lint: clippy::result_unit_err
--> src/types.rs:397:13
|
397 | #[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#L397
warning: unknown clippy lint: clippy::result_unit_err
--> src/types.rs:397:13
|
397 | #[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#L397
warning: unknown clippy lint: clippy::result_unit_err
--> src/types.rs:397:13
|
397 | #[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
|