Skip to content

v0.8.10

v0.8.10 #904

Triggered via push August 15, 2023 23:20
Status Success
Total duration 31m 58s
Artifacts

main.yml

on: push
Matrix: Build
Rustfmt
4s
Rustfmt
Matrix: Clippy check
Matrix: Cross-compile to aarch64-apple-darwin
Matrix: Cross-compile to aarch64-unknown-linux-gnu
Matrix: Cross-compile to armv7-unknown-linux-gnueabihf
Matrix: Test
Matrix: Test modules
Matrix: Test modules on Windows
Matrix: Test with address sanitizer
Fit to window
Zoom out
Zoom in

Annotations

428 warnings
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L675
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:675:24 | 675 | ptr::write(ud as *mut WrappedFailure, WrappedFailure::Panic(Some(p))); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L652
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:652:33 | 652 | let wrapped_error = ud as *mut WrappedFailure; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L645
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:645:21 | 645 | let inner = Arc::new(UnsafeCell::new(LuaInner { | _____________________^ 646 | | state, 647 | | main_state, 648 | | extra: Arc::clone(&extra), ... | 652 | | _no_ref_unwind_safe: PhantomData, 653 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<LuaInner>` = note: the trait `Sync` is not implemented for `UnsafeCell<LuaInner>` = note: required for `Arc<UnsafeCell<LuaInner>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L581
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:581:21 | 581 | let extra = Arc::new(UnsafeCell::new(ExtraData { | _____________________^ 582 | | inner: None, 583 | | registered_userdata: FxHashMap::default(), 584 | | registered_userdata_mt: FxHashMap::default(), ... | 608 | | sandboxed: false, 609 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<ExtraData>` = note: the trait `Sync` is not implemented for `UnsafeCell<ExtraData>` = note: required for `Arc<UnsafeCell<ExtraData>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
`Box::new(_)` of default value: src/lua.rs#L449
warning: `Box::new(_)` of default value --> src/lua.rs:449:46 | 449 | let mut mem_info = Box::into_raw(Box::new(MemoryInfo::default())); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default = note: `#[warn(clippy::box_default)]` on by default
casting to the same type is unnecessary (`i32` -> `i32`): src/hook.rs#L165
warning: casting to the same type is unnecessary (`i32` -> `i32`) --> src/hook.rs:165:26 | 165 | num_ups: (*self.ar.get()).nups as i32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(*self.ar.get()).nups` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
calls to `push` immediately after creation: src/ffi/mod.rs#L76
warning: calls to `push` immediately after creation --> src/ffi/mod.rs:76:5 | 76 | / let mut symbols: Vec<*const extern "C" fn()> = Vec::new(); 77 | | symbols.push(lua_atpanic as _); 78 | | symbols.push(lua_isuserdata as _); 79 | | symbols.push(lua_tocfunction as _); 80 | | symbols.push(luaL_loadstring as _); 81 | | symbols.push(luaL_openlibs as _); | |_____________________________________^ help: consider using the `vec![]` macro: `let symbols: Vec<*const extern "C" fn()> = vec![..];` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push = note: `#[warn(clippy::vec_init_then_push)]` on by default
unneeded sub `cfg` when there is only one condition: src/userdata.rs#L142
warning: unneeded sub `cfg` when there is only one condition --> src/userdata.rs:142:11 | 142 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/table.rs#L622
warning: unneeded sub `cfg` when there is only one condition --> src/table.rs:622:11 | 622 | #[cfg(any(feature = "serialize"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "serialize"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L1337
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:1337:11 | 1337 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L152
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:152:11 | 152 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L66
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:66:7 | 66 | #[cfg(all(any( | _______^ 67 | | all(target_arch = "riscv32", target_os = "espidf"), 68 | | all(target_arch = "xtensa", target_os = "espidf"), 69 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 66 ~ #[cfg(any( 67 + all(target_arch = "riscv32", target_os = "espidf"), 68 + all(target_arch = "xtensa", target_os = "espidf"), 69 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L55
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:55:7 | 55 | #[cfg(all(any( | _______^ 56 | | target_arch = "x86_64", 57 | | target_arch = "aarch64", 58 | | target_arch = "mips64", ... | 62 | | target_arch = "wasm64", 63 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 55 ~ #[cfg(any( 56 + target_arch = "x86_64", 57 + target_arch = "aarch64", 58 + target_arch = "mips64", 59 + target_arch = "s390x", 60 + target_arch = "sparc64", 61 + target_arch = "riscv64", 62 + target_arch = "wasm64", 63 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L41
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:41:7 | 41 | #[cfg(all(any( | _______^ 42 | | target_arch = "x86", 43 | | target_arch = "arm", 44 | | target_arch = "mips", ... | 52 | | all(target_arch = "xtensa", not(target_os = "espidf")), 53 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 41 ~ #[cfg(any( 42 + target_arch = "x86", 43 + target_arch = "arm", 44 + target_arch = "mips", 45 + target_arch = "powerpc", 46 + target_arch = "powerpc64", 47 + target_arch = "sparc", 48 + target_arch = "asmjs", 49 + target_arch = "wasm32", 50 + target_arch = "hexagon", 51 + all(target_arch = "riscv32", not(target_os = "espidf")), 52 + all(target_arch = "xtensa", not(target_os = "espidf")), 53 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/lib.rs#L201
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:201:7 | 201 | #[cfg(any(feature = "macros"))] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "macros"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lib.rs#L144
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:144:7 | 144 | #[cfg(any(feature = "mlua_derive"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "mlua_derive"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
Clippy check (lua51)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L675
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:675:24 | 675 | ptr::write(ud as *mut WrappedFailure, WrappedFailure::Panic(Some(p))); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L652
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:652:33 | 652 | let wrapped_error = ud as *mut WrappedFailure; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L645
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:645:21 | 645 | let inner = Arc::new(UnsafeCell::new(LuaInner { | _____________________^ 646 | | state, 647 | | main_state, 648 | | extra: Arc::clone(&extra), ... | 652 | | _no_ref_unwind_safe: PhantomData, 653 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<LuaInner>` = note: the trait `Sync` is not implemented for `UnsafeCell<LuaInner>` = note: required for `Arc<UnsafeCell<LuaInner>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L581
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:581:21 | 581 | let extra = Arc::new(UnsafeCell::new(ExtraData { | _____________________^ 582 | | inner: None, 583 | | registered_userdata: FxHashMap::default(), 584 | | registered_userdata_mt: FxHashMap::default(), ... | 608 | | sandboxed: false, 609 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<ExtraData>` = note: the trait `Sync` is not implemented for `UnsafeCell<ExtraData>` = note: required for `Arc<UnsafeCell<ExtraData>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
`Box::new(_)` of default value: src/lua.rs#L449
warning: `Box::new(_)` of default value --> src/lua.rs:449:46 | 449 | let mut mem_info = Box::into_raw(Box::new(MemoryInfo::default())); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default = note: `#[warn(clippy::box_default)]` on by default
unneeded sub `cfg` when there is only one condition: src/userdata.rs#L142
warning: unneeded sub `cfg` when there is only one condition --> src/userdata.rs:142:11 | 142 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/table.rs#L622
warning: unneeded sub `cfg` when there is only one condition --> src/table.rs:622:11 | 622 | #[cfg(any(feature = "serialize"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "serialize"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L1337
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:1337:11 | 1337 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L152
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:152:11 | 152 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L66
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:66:7 | 66 | #[cfg(all(any( | _______^ 67 | | all(target_arch = "riscv32", target_os = "espidf"), 68 | | all(target_arch = "xtensa", target_os = "espidf"), 69 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 66 ~ #[cfg(any( 67 + all(target_arch = "riscv32", target_os = "espidf"), 68 + all(target_arch = "xtensa", target_os = "espidf"), 69 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L55
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:55:7 | 55 | #[cfg(all(any( | _______^ 56 | | target_arch = "x86_64", 57 | | target_arch = "aarch64", 58 | | target_arch = "mips64", ... | 62 | | target_arch = "wasm64", 63 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 55 ~ #[cfg(any( 56 + target_arch = "x86_64", 57 + target_arch = "aarch64", 58 + target_arch = "mips64", 59 + target_arch = "s390x", 60 + target_arch = "sparc64", 61 + target_arch = "riscv64", 62 + target_arch = "wasm64", 63 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L41
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:41:7 | 41 | #[cfg(all(any( | _______^ 42 | | target_arch = "x86", 43 | | target_arch = "arm", 44 | | target_arch = "mips", ... | 52 | | all(target_arch = "xtensa", not(target_os = "espidf")), 53 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 41 ~ #[cfg(any( 42 + target_arch = "x86", 43 + target_arch = "arm", 44 + target_arch = "mips", 45 + target_arch = "powerpc", 46 + target_arch = "powerpc64", 47 + target_arch = "sparc", 48 + target_arch = "asmjs", 49 + target_arch = "wasm32", 50 + target_arch = "hexagon", 51 + all(target_arch = "riscv32", not(target_os = "espidf")), 52 + all(target_arch = "xtensa", not(target_os = "espidf")), 53 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/lib.rs#L201
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:201:7 | 201 | #[cfg(any(feature = "macros"))] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "macros"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lib.rs#L144
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:144:7 | 144 | #[cfg(any(feature = "mlua_derive"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "mlua_derive"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
Clippy check (lua52)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L675
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:675:24 | 675 | ptr::write(ud as *mut WrappedFailure, WrappedFailure::Panic(Some(p))); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L652
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:652:33 | 652 | let wrapped_error = ud as *mut WrappedFailure; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L645
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:645:21 | 645 | let inner = Arc::new(UnsafeCell::new(LuaInner { | _____________________^ 646 | | state, 647 | | main_state, 648 | | extra: Arc::clone(&extra), ... | 652 | | _no_ref_unwind_safe: PhantomData, 653 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<LuaInner>` = note: the trait `Sync` is not implemented for `UnsafeCell<LuaInner>` = note: required for `Arc<UnsafeCell<LuaInner>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L581
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:581:21 | 581 | let extra = Arc::new(UnsafeCell::new(ExtraData { | _____________________^ 582 | | inner: None, 583 | | registered_userdata: FxHashMap::default(), 584 | | registered_userdata_mt: FxHashMap::default(), ... | 608 | | sandboxed: false, 609 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<ExtraData>` = note: the trait `Sync` is not implemented for `UnsafeCell<ExtraData>` = note: required for `Arc<UnsafeCell<ExtraData>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
`Box::new(_)` of default value: src/lua.rs#L449
warning: `Box::new(_)` of default value --> src/lua.rs:449:46 | 449 | let mut mem_info = Box::into_raw(Box::new(MemoryInfo::default())); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default = note: `#[warn(clippy::box_default)]` on by default
unneeded sub `cfg` when there is only one condition: src/userdata.rs#L142
warning: unneeded sub `cfg` when there is only one condition --> src/userdata.rs:142:11 | 142 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/table.rs#L622
warning: unneeded sub `cfg` when there is only one condition --> src/table.rs:622:11 | 622 | #[cfg(any(feature = "serialize"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "serialize"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L1337
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:1337:11 | 1337 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L152
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:152:11 | 152 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L66
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:66:7 | 66 | #[cfg(all(any( | _______^ 67 | | all(target_arch = "riscv32", target_os = "espidf"), 68 | | all(target_arch = "xtensa", target_os = "espidf"), 69 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 66 ~ #[cfg(any( 67 + all(target_arch = "riscv32", target_os = "espidf"), 68 + all(target_arch = "xtensa", target_os = "espidf"), 69 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L55
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:55:7 | 55 | #[cfg(all(any( | _______^ 56 | | target_arch = "x86_64", 57 | | target_arch = "aarch64", 58 | | target_arch = "mips64", ... | 62 | | target_arch = "wasm64", 63 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 55 ~ #[cfg(any( 56 + target_arch = "x86_64", 57 + target_arch = "aarch64", 58 + target_arch = "mips64", 59 + target_arch = "s390x", 60 + target_arch = "sparc64", 61 + target_arch = "riscv64", 62 + target_arch = "wasm64", 63 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L41
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:41:7 | 41 | #[cfg(all(any( | _______^ 42 | | target_arch = "x86", 43 | | target_arch = "arm", 44 | | target_arch = "mips", ... | 52 | | all(target_arch = "xtensa", not(target_os = "espidf")), 53 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 41 ~ #[cfg(any( 42 + target_arch = "x86", 43 + target_arch = "arm", 44 + target_arch = "mips", 45 + target_arch = "powerpc", 46 + target_arch = "powerpc64", 47 + target_arch = "sparc", 48 + target_arch = "asmjs", 49 + target_arch = "wasm32", 50 + target_arch = "hexagon", 51 + all(target_arch = "riscv32", not(target_os = "espidf")), 52 + all(target_arch = "xtensa", not(target_os = "espidf")), 53 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/lib.rs#L201
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:201:7 | 201 | #[cfg(any(feature = "macros"))] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "macros"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lib.rs#L144
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:144:7 | 144 | #[cfg(any(feature = "mlua_derive"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "mlua_derive"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
Clippy check (lua53)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L675
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:675:24 | 675 | ptr::write(ud as *mut WrappedFailure, WrappedFailure::Panic(Some(p))); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L652
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:652:33 | 652 | let wrapped_error = ud as *mut WrappedFailure; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L645
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:645:21 | 645 | let inner = Arc::new(UnsafeCell::new(LuaInner { | _____________________^ 646 | | state, 647 | | main_state, 648 | | extra: Arc::clone(&extra), ... | 652 | | _no_ref_unwind_safe: PhantomData, 653 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<LuaInner>` = note: the trait `Sync` is not implemented for `UnsafeCell<LuaInner>` = note: required for `Arc<UnsafeCell<LuaInner>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L581
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:581:21 | 581 | let extra = Arc::new(UnsafeCell::new(ExtraData { | _____________________^ 582 | | inner: None, 583 | | registered_userdata: FxHashMap::default(), 584 | | registered_userdata_mt: FxHashMap::default(), ... | 608 | | sandboxed: false, 609 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<ExtraData>` = note: the trait `Sync` is not implemented for `UnsafeCell<ExtraData>` = note: required for `Arc<UnsafeCell<ExtraData>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
`Box::new(_)` of default value: src/lua.rs#L449
warning: `Box::new(_)` of default value --> src/lua.rs:449:46 | 449 | let mut mem_info = Box::into_raw(Box::new(MemoryInfo::default())); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default = note: `#[warn(clippy::box_default)]` on by default
unneeded sub `cfg` when there is only one condition: src/userdata.rs#L142
warning: unneeded sub `cfg` when there is only one condition --> src/userdata.rs:142:11 | 142 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/table.rs#L622
warning: unneeded sub `cfg` when there is only one condition --> src/table.rs:622:11 | 622 | #[cfg(any(feature = "serialize"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "serialize"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L1337
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:1337:11 | 1337 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L152
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:152:11 | 152 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L66
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:66:7 | 66 | #[cfg(all(any( | _______^ 67 | | all(target_arch = "riscv32", target_os = "espidf"), 68 | | all(target_arch = "xtensa", target_os = "espidf"), 69 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 66 ~ #[cfg(any( 67 + all(target_arch = "riscv32", target_os = "espidf"), 68 + all(target_arch = "xtensa", target_os = "espidf"), 69 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L55
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:55:7 | 55 | #[cfg(all(any( | _______^ 56 | | target_arch = "x86_64", 57 | | target_arch = "aarch64", 58 | | target_arch = "mips64", ... | 62 | | target_arch = "wasm64", 63 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 55 ~ #[cfg(any( 56 + target_arch = "x86_64", 57 + target_arch = "aarch64", 58 + target_arch = "mips64", 59 + target_arch = "s390x", 60 + target_arch = "sparc64", 61 + target_arch = "riscv64", 62 + target_arch = "wasm64", 63 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L41
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:41:7 | 41 | #[cfg(all(any( | _______^ 42 | | target_arch = "x86", 43 | | target_arch = "arm", 44 | | target_arch = "mips", ... | 52 | | all(target_arch = "xtensa", not(target_os = "espidf")), 53 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 41 ~ #[cfg(any( 42 + target_arch = "x86", 43 + target_arch = "arm", 44 + target_arch = "mips", 45 + target_arch = "powerpc", 46 + target_arch = "powerpc64", 47 + target_arch = "sparc", 48 + target_arch = "asmjs", 49 + target_arch = "wasm32", 50 + target_arch = "hexagon", 51 + all(target_arch = "riscv32", not(target_os = "espidf")), 52 + all(target_arch = "xtensa", not(target_os = "espidf")), 53 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/lib.rs#L201
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:201:7 | 201 | #[cfg(any(feature = "macros"))] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "macros"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lib.rs#L144
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:144:7 | 144 | #[cfg(any(feature = "mlua_derive"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "mlua_derive"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
Clippy check (lua54)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L675
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:675:24 | 675 | ptr::write(ud as *mut WrappedFailure, WrappedFailure::Panic(Some(p))); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L652
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:652:33 | 652 | let wrapped_error = ud as *mut WrappedFailure; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
type parameter `T` goes unused in function definition: src/util.rs#L540
warning: type parameter `T` goes unused in function definition --> src/util.rs:540:38 | 540 | pub unsafe fn init_userdata_metatable<T>( | ^^^ help: consider removing the parameter | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters = note: `#[warn(clippy::extra_unused_type_parameters)]` on by default
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L645
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:645:21 | 645 | let inner = Arc::new(UnsafeCell::new(LuaInner { | _____________________^ 646 | | state, 647 | | main_state, 648 | | extra: Arc::clone(&extra), ... | 652 | | _no_ref_unwind_safe: PhantomData, 653 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<LuaInner>` = note: the trait `Sync` is not implemented for `UnsafeCell<LuaInner>` = note: required for `Arc<UnsafeCell<LuaInner>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L581
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:581:21 | 581 | let extra = Arc::new(UnsafeCell::new(ExtraData { | _____________________^ 582 | | inner: None, 583 | | registered_userdata: FxHashMap::default(), 584 | | registered_userdata_mt: FxHashMap::default(), ... | 608 | | sandboxed: false, 609 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<ExtraData>` = note: the trait `Sync` is not implemented for `UnsafeCell<ExtraData>` = note: required for `Arc<UnsafeCell<ExtraData>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
`Box::new(_)` of default value: src/lua.rs#L449
warning: `Box::new(_)` of default value --> src/lua.rs:449:46 | 449 | let mut mem_info = Box::into_raw(Box::new(MemoryInfo::default())); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default = note: `#[warn(clippy::box_default)]` on by default
unneeded sub `cfg` when there is only one condition: src/userdata.rs#L142
warning: unneeded sub `cfg` when there is only one condition --> src/userdata.rs:142:11 | 142 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/table.rs#L622
warning: unneeded sub `cfg` when there is only one condition --> src/table.rs:622:11 | 622 | #[cfg(any(feature = "serialize"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "serialize"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L1337
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:1337:11 | 1337 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L152
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:152:11 | 152 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L66
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:66:7 | 66 | #[cfg(all(any( | _______^ 67 | | all(target_arch = "riscv32", target_os = "espidf"), 68 | | all(target_arch = "xtensa", target_os = "espidf"), 69 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 66 ~ #[cfg(any( 67 + all(target_arch = "riscv32", target_os = "espidf"), 68 + all(target_arch = "xtensa", target_os = "espidf"), 69 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L55
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:55:7 | 55 | #[cfg(all(any( | _______^ 56 | | target_arch = "x86_64", 57 | | target_arch = "aarch64", 58 | | target_arch = "mips64", ... | 62 | | target_arch = "wasm64", 63 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 55 ~ #[cfg(any( 56 + target_arch = "x86_64", 57 + target_arch = "aarch64", 58 + target_arch = "mips64", 59 + target_arch = "s390x", 60 + target_arch = "sparc64", 61 + target_arch = "riscv64", 62 + target_arch = "wasm64", 63 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L41
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:41:7 | 41 | #[cfg(all(any( | _______^ 42 | | target_arch = "x86", 43 | | target_arch = "arm", 44 | | target_arch = "mips", ... | 52 | | all(target_arch = "xtensa", not(target_os = "espidf")), 53 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 41 ~ #[cfg(any( 42 + target_arch = "x86", 43 + target_arch = "arm", 44 + target_arch = "mips", 45 + target_arch = "powerpc", 46 + target_arch = "powerpc64", 47 + target_arch = "sparc", 48 + target_arch = "asmjs", 49 + target_arch = "wasm32", 50 + target_arch = "hexagon", 51 + all(target_arch = "riscv32", not(target_os = "espidf")), 52 + all(target_arch = "xtensa", not(target_os = "espidf")), 53 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/lib.rs#L201
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:201:7 | 201 | #[cfg(any(feature = "macros"))] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "macros"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lib.rs#L144
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:144:7 | 144 | #[cfg(any(feature = "mlua_derive"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "mlua_derive"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
Clippy check (luau)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L675
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:675:24 | 675 | ptr::write(ud as *mut WrappedFailure, WrappedFailure::Panic(Some(p))); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L652
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:652:33 | 652 | let wrapped_error = ud as *mut WrappedFailure; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L645
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:645:21 | 645 | let inner = Arc::new(UnsafeCell::new(LuaInner { | _____________________^ 646 | | state, 647 | | main_state, 648 | | extra: Arc::clone(&extra), ... | 652 | | _no_ref_unwind_safe: PhantomData, 653 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<LuaInner>` = note: the trait `Sync` is not implemented for `UnsafeCell<LuaInner>` = note: required for `Arc<UnsafeCell<LuaInner>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L581
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:581:21 | 581 | let extra = Arc::new(UnsafeCell::new(ExtraData { | _____________________^ 582 | | inner: None, 583 | | registered_userdata: FxHashMap::default(), 584 | | registered_userdata_mt: FxHashMap::default(), ... | 608 | | sandboxed: false, 609 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<ExtraData>` = note: the trait `Sync` is not implemented for `UnsafeCell<ExtraData>` = note: required for `Arc<UnsafeCell<ExtraData>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
`Box::new(_)` of default value: src/lua.rs#L449
warning: `Box::new(_)` of default value --> src/lua.rs:449:46 | 449 | let mut mem_info = Box::into_raw(Box::new(MemoryInfo::default())); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default = note: `#[warn(clippy::box_default)]` on by default
casting to the same type is unnecessary (`i32` -> `i32`): src/hook.rs#L165
warning: casting to the same type is unnecessary (`i32` -> `i32`) --> src/hook.rs:165:26 | 165 | num_ups: (*self.ar.get()).nups as i32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(*self.ar.get()).nups` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
calls to `push` immediately after creation: src/ffi/mod.rs#L76
warning: calls to `push` immediately after creation --> src/ffi/mod.rs:76:5 | 76 | / let mut symbols: Vec<*const extern "C" fn()> = Vec::new(); 77 | | symbols.push(lua_atpanic as _); 78 | | symbols.push(lua_isuserdata as _); 79 | | symbols.push(lua_tocfunction as _); 80 | | symbols.push(luaL_loadstring as _); 81 | | symbols.push(luaL_openlibs as _); | |_____________________________________^ help: consider using the `vec![]` macro: `let symbols: Vec<*const extern "C" fn()> = vec![..];` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push = note: `#[warn(clippy::vec_init_then_push)]` on by default
unneeded sub `cfg` when there is only one condition: src/userdata.rs#L142
warning: unneeded sub `cfg` when there is only one condition --> src/userdata.rs:142:11 | 142 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/table.rs#L622
warning: unneeded sub `cfg` when there is only one condition --> src/table.rs:622:11 | 622 | #[cfg(any(feature = "serialize"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "serialize"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L1337
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:1337:11 | 1337 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L152
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:152:11 | 152 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L66
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:66:7 | 66 | #[cfg(all(any( | _______^ 67 | | all(target_arch = "riscv32", target_os = "espidf"), 68 | | all(target_arch = "xtensa", target_os = "espidf"), 69 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 66 ~ #[cfg(any( 67 + all(target_arch = "riscv32", target_os = "espidf"), 68 + all(target_arch = "xtensa", target_os = "espidf"), 69 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L55
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:55:7 | 55 | #[cfg(all(any( | _______^ 56 | | target_arch = "x86_64", 57 | | target_arch = "aarch64", 58 | | target_arch = "mips64", ... | 62 | | target_arch = "wasm64", 63 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 55 ~ #[cfg(any( 56 + target_arch = "x86_64", 57 + target_arch = "aarch64", 58 + target_arch = "mips64", 59 + target_arch = "s390x", 60 + target_arch = "sparc64", 61 + target_arch = "riscv64", 62 + target_arch = "wasm64", 63 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L41
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:41:7 | 41 | #[cfg(all(any( | _______^ 42 | | target_arch = "x86", 43 | | target_arch = "arm", 44 | | target_arch = "mips", ... | 52 | | all(target_arch = "xtensa", not(target_os = "espidf")), 53 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 41 ~ #[cfg(any( 42 + target_arch = "x86", 43 + target_arch = "arm", 44 + target_arch = "mips", 45 + target_arch = "powerpc", 46 + target_arch = "powerpc64", 47 + target_arch = "sparc", 48 + target_arch = "asmjs", 49 + target_arch = "wasm32", 50 + target_arch = "hexagon", 51 + all(target_arch = "riscv32", not(target_os = "espidf")), 52 + all(target_arch = "xtensa", not(target_os = "espidf")), 53 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/lib.rs#L201
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:201:7 | 201 | #[cfg(any(feature = "macros"))] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "macros"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lib.rs#L144
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:144:7 | 144 | #[cfg(any(feature = "mlua_derive"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "mlua_derive"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
Clippy check (luajit)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
Test modules (ubuntu-22.04, stable, lua51)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test modules (ubuntu-22.04, stable, lua51)
The `save-state` 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/
Test modules (ubuntu-22.04, stable, lua51)
The `save-state` 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/
Test modules (ubuntu-22.04, stable, lua51)
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/
Test (ubuntu-22.04, nightly, lua54)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-22.04, nightly, lua54)
The `save-state` 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/
Test (ubuntu-22.04, nightly, lua54)
The `save-state` 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/
Test (ubuntu-22.04, nightly, lua54)
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/
Test (ubuntu-22.04, nightly, luajit)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-22.04, nightly, luajit)
The `save-state` 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/
Test (ubuntu-22.04, nightly, luajit)
The `save-state` 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/
Test (ubuntu-22.04, nightly, luajit)
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/
Test (ubuntu-22.04, nightly, lua52)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-22.04, nightly, lua52)
The `save-state` 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/
Test (ubuntu-22.04, nightly, lua52)
The `save-state` 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/
Test (ubuntu-22.04, nightly, lua52)
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/
Test (ubuntu-22.04, nightly, lua53)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-22.04, nightly, lua53)
The `save-state` 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/
Test (ubuntu-22.04, nightly, lua53)
The `save-state` 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/
Test (ubuntu-22.04, nightly, lua53)
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/
Test (ubuntu-22.04, nightly, lua51)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-22.04, nightly, lua51)
The `save-state` 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/
Test (ubuntu-22.04, nightly, lua51)
The `save-state` 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/
Test (ubuntu-22.04, nightly, lua51)
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/
Test (ubuntu-22.04, stable, lua51)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-22.04, stable, lua51)
The `save-state` 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/
Test (ubuntu-22.04, stable, lua51)
The `save-state` 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/
Test (ubuntu-22.04, stable, lua51)
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/
Test (ubuntu-22.04, nightly, luajit52)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-22.04, nightly, luajit52)
The `save-state` 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/
Test (ubuntu-22.04, nightly, luajit52)
The `save-state` 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/
Test (ubuntu-22.04, nightly, luajit52)
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/
Test (ubuntu-22.04, stable, luajit52)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-22.04, stable, luajit52)
The `save-state` 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/
Test (ubuntu-22.04, stable, luajit52)
The `save-state` 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/
Test (ubuntu-22.04, stable, luajit52)
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/
Test (ubuntu-22.04, stable, lua53)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-22.04, stable, lua53)
The `save-state` 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/
Test (ubuntu-22.04, stable, lua53)
The `save-state` 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/
Test (ubuntu-22.04, stable, lua53)
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/
Test (ubuntu-22.04, stable, lua52)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-22.04, stable, lua52)
The `save-state` 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/
Test (ubuntu-22.04, stable, lua52)
The `save-state` 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/
Test (ubuntu-22.04, stable, lua52)
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/
Test (ubuntu-22.04, stable, luajit)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-22.04, stable, luajit)
The `save-state` 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/
Test (ubuntu-22.04, stable, luajit)
The `save-state` 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/
Test (ubuntu-22.04, stable, luajit)
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/
Test (ubuntu-22.04, stable, lua54)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-22.04, stable, lua54)
The `save-state` 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/
Test (ubuntu-22.04, stable, lua54)
The `save-state` 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/
Test (ubuntu-22.04, stable, lua54)
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/
Test (ubuntu-22.04, nightly, luau)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-22.04, nightly, luau)
The `save-state` 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/
Test (ubuntu-22.04, nightly, luau)
The `save-state` 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/
Test (ubuntu-22.04, nightly, luau)
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/
Test (ubuntu-22.04, stable, luau)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ubuntu-22.04, stable, luau)
The `save-state` 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/
Test (ubuntu-22.04, stable, luau)
The `save-state` 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/
Test (ubuntu-22.04, stable, luau)
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/
Test (macos-latest, nightly, lua51)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, nightly, lua51)
The `save-state` 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/
Test (macos-latest, nightly, lua51)
The `save-state` 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/
Test (macos-latest, nightly, lua51)
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/
Test modules (ubuntu-22.04, stable, lua52)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test modules (ubuntu-22.04, stable, lua52)
The `save-state` 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/
Test modules (ubuntu-22.04, stable, lua52)
The `save-state` 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/
Test modules (ubuntu-22.04, stable, lua52)
The `save-state` 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/
Test modules (ubuntu-22.04, stable, lua52)
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/
Test (macos-latest, nightly, lua52)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, nightly, lua52)
The `save-state` 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/
Test (macos-latest, nightly, lua52)
The `save-state` 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/
Test (macos-latest, nightly, lua52)
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/
Test modules (ubuntu-22.04, stable, lua53)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test modules (ubuntu-22.04, stable, lua53)
The `save-state` 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/
Test modules (ubuntu-22.04, stable, lua53)
The `save-state` 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/
Test modules (ubuntu-22.04, stable, lua53)
The `save-state` 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/
Test modules (ubuntu-22.04, stable, lua53)
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/
Test modules (ubuntu-22.04, stable, lua54)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test modules (ubuntu-22.04, stable, lua54)
The `save-state` 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/
Test modules (ubuntu-22.04, stable, lua54)
The `save-state` 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/
Test modules (ubuntu-22.04, stable, lua54)
The `save-state` 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/
Test modules (ubuntu-22.04, stable, lua54)
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/
Test (macos-latest, nightly, lua53)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, nightly, lua53)
The `save-state` 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/
Test (macos-latest, nightly, lua53)
The `save-state` 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/
Test (macos-latest, nightly, lua53)
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/
Test (windows-latest, nightly, lua51)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, nightly, lua51)
The `save-state` 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/
Test (windows-latest, nightly, lua51)
The `save-state` 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/
Test (windows-latest, nightly, lua51)
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/
Test modules (ubuntu-22.04, stable, luajit)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test modules (ubuntu-22.04, stable, luajit)
The `save-state` 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/
Test modules (ubuntu-22.04, stable, luajit)
The `save-state` 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/
Test modules (ubuntu-22.04, stable, luajit)
The `save-state` 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/
Test modules (ubuntu-22.04, stable, luajit)
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/
Test (macos-latest, nightly, luajit52)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, nightly, luajit52)
The `save-state` 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/
Test (macos-latest, nightly, luajit52)
The `save-state` 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/
Test (macos-latest, nightly, luajit52)
The `save-state` 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/
Test (macos-latest, nightly, luajit52)
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/
Test (windows-latest, nightly, lua52)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, nightly, lua52)
The `save-state` 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/
Test (windows-latest, nightly, lua52)
The `save-state` 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/
Test (windows-latest, nightly, lua52)
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/
Test (macos-latest, nightly, luajit)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, nightly, luajit)
The `save-state` 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/
Test (macos-latest, nightly, luajit)
The `save-state` 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/
Test (macos-latest, nightly, luajit)
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/
Test (windows-latest, nightly, lua53)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, nightly, lua53)
The `save-state` 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/
Test (windows-latest, nightly, lua53)
The `save-state` 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/
Test (windows-latest, nightly, lua53)
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/
Test (windows-latest, nightly, luajit52)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, nightly, luajit52)
The `save-state` 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/
Test (windows-latest, nightly, luajit52)
The `save-state` 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/
Test (windows-latest, nightly, luajit52)
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/
Test (windows-latest, nightly, lua54)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, nightly, lua54)
The `save-state` 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/
Test (windows-latest, nightly, lua54)
The `save-state` 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/
Test (windows-latest, nightly, lua54)
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/
Test (windows-latest, stable, lua51)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, stable, lua51)
The `save-state` 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/
Test (windows-latest, stable, lua51)
The `save-state` 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/
Test (windows-latest, stable, lua51)
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/
Test (windows-latest, stable, lua52)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, stable, lua52)
The `save-state` 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/
Test (windows-latest, stable, lua52)
The `save-state` 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/
Test (windows-latest, stable, lua52)
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/
Test (macos-latest, nightly, lua54)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, nightly, lua54)
The `save-state` 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/
Test (macos-latest, nightly, lua54)
The `save-state` 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/
Test (macos-latest, nightly, lua54)
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/
Test (macos-latest, nightly, luau)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, nightly, luau)
The `save-state` 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/
Test (macos-latest, nightly, luau)
The `save-state` 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/
Test (macos-latest, nightly, luau)
The `save-state` 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/
Test (macos-latest, nightly, luau)
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/
Test (windows-latest, stable, lua53)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, stable, lua53)
The `save-state` 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/
Test (windows-latest, stable, lua53)
The `save-state` 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/
Test (windows-latest, stable, lua53)
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/
Test (windows-latest, nightly, luajit)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, nightly, luajit)
The `save-state` 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/
Test (windows-latest, nightly, luajit)
The `save-state` 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/
Test (windows-latest, nightly, luajit)
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/
Test (windows-latest, stable, luajit)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, stable, luajit)
The `save-state` 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/
Test (windows-latest, stable, luajit)
The `save-state` 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/
Test (windows-latest, stable, luajit)
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/
Test (windows-latest, stable, luajit52)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, stable, luajit52)
The `save-state` 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/
Test (windows-latest, stable, luajit52)
The `save-state` 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/
Test (windows-latest, stable, luajit52)
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/
Test (windows-latest, stable, luau)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, stable, luau)
The `save-state` 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/
Test (windows-latest, stable, luau)
The `save-state` 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/
Test (windows-latest, stable, luau)
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/
Test (windows-latest, nightly, luau)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, nightly, luau)
The `save-state` 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/
Test (windows-latest, nightly, luau)
The `save-state` 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/
Test (windows-latest, nightly, luau)
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/
Test (macos-latest, stable, lua52)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, stable, lua52)
The `save-state` 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/
Test (macos-latest, stable, lua52)
The `save-state` 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/
Test (macos-latest, stable, lua52)
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/
Test (windows-latest, stable, lua54)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (windows-latest, stable, lua54)
The `save-state` 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/
Test (windows-latest, stable, lua54)
The `save-state` 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/
Test (windows-latest, stable, lua54)
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/
Test with address sanitizer (ubuntu-22.04, nightly, lua54)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test with address sanitizer (ubuntu-22.04, nightly, lua54)
The `save-state` 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/
Test with address sanitizer (ubuntu-22.04, nightly, lua54)
The `save-state` 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/
Test with address sanitizer (ubuntu-22.04, nightly, lua54)
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/
Test with address sanitizer (ubuntu-22.04, nightly, lua51)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test with address sanitizer (ubuntu-22.04, nightly, lua51)
The `save-state` 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/
Test with address sanitizer (ubuntu-22.04, nightly, lua51)
The `save-state` 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/
Test with address sanitizer (ubuntu-22.04, nightly, lua51)
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/
Test (macos-latest, stable, lua51)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, stable, lua51)
The `save-state` 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/
Test (macos-latest, stable, lua51)
The `save-state` 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/
Test (macos-latest, stable, lua51)
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/
Test with address sanitizer (ubuntu-22.04, nightly, lua53)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test with address sanitizer (ubuntu-22.04, nightly, lua53)
The `save-state` 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/
Test with address sanitizer (ubuntu-22.04, nightly, lua53)
The `save-state` 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/
Test with address sanitizer (ubuntu-22.04, nightly, lua53)
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/
Test with address sanitizer (ubuntu-22.04, nightly, lua52)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test with address sanitizer (ubuntu-22.04, nightly, lua52)
The `save-state` 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/
Test with address sanitizer (ubuntu-22.04, nightly, lua52)
The `save-state` 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/
Test with address sanitizer (ubuntu-22.04, nightly, lua52)
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/
Test with address sanitizer (ubuntu-22.04, nightly, luajit)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test with address sanitizer (ubuntu-22.04, nightly, luajit)
The `save-state` 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/
Test with address sanitizer (ubuntu-22.04, nightly, luajit)
The `save-state` 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/
Test with address sanitizer (ubuntu-22.04, nightly, luajit)
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/
Test (macos-latest, stable, lua53)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, stable, lua53)
The `save-state` 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/
Test (macos-latest, stable, lua53)
The `save-state` 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/
Test (macos-latest, stable, lua53)
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/
Test with address sanitizer (ubuntu-22.04, nightly, luau)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test with address sanitizer (ubuntu-22.04, nightly, luau)
The `save-state` 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/
Test with address sanitizer (ubuntu-22.04, nightly, luau)
The `save-state` 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/
Test with address sanitizer (ubuntu-22.04, nightly, luau)
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/
Test (macos-latest, stable, luau)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, stable, luau)
The `save-state` 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/
Test (macos-latest, stable, luau)
The `save-state` 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/
Test (macos-latest, stable, luau)
The `save-state` 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/
Test (macos-latest, stable, luau)
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/
Test modules (macos-latest, stable, lua51)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test modules (macos-latest, stable, lua51)
The `save-state` 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/
Test modules (macos-latest, stable, lua51)
The `save-state` 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/
Test modules (macos-latest, stable, lua51)
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/
Test (macos-latest, stable, luajit52)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, stable, luajit52)
The `save-state` 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/
Test (macos-latest, stable, luajit52)
The `save-state` 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/
Test (macos-latest, stable, luajit52)
The `save-state` 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/
Test (macos-latest, stable, luajit52)
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/
Test modules (macos-latest, stable, lua53)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test modules (macos-latest, stable, lua53)
The `save-state` 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/
Test modules (macos-latest, stable, lua53)
The `save-state` 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/
Test modules (macos-latest, stable, lua53)
The `save-state` 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/
Test modules (macos-latest, stable, lua53)
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/
Test modules (macos-latest, stable, lua52)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test modules (macos-latest, stable, lua52)
The `save-state` 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/
Test modules (macos-latest, stable, lua52)
The `save-state` 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/
Test modules (macos-latest, stable, lua52)
The `save-state` 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/
Test modules (macos-latest, stable, lua52)
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/
Test modules (macos-latest, stable, lua54)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test modules (macos-latest, stable, lua54)
The `save-state` 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/
Test modules (macos-latest, stable, lua54)
The `save-state` 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/
Test modules (macos-latest, stable, lua54)
The `save-state` 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/
Test modules (macos-latest, stable, lua54)
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/
Test (macos-latest, stable, luajit)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, stable, luajit)
The `save-state` 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/
Test (macos-latest, stable, luajit)
The `save-state` 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/
Test (macos-latest, stable, luajit)
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/
Test (macos-latest, stable, lua54)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macos-latest, stable, lua54)
The `save-state` 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/
Test (macos-latest, stable, lua54)
The `save-state` 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/
Test (macos-latest, stable, lua54)
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/
Test modules (macos-latest, stable, luajit)
The following actions uses node12 which is deprecated and will be forced to run on node16: Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test modules (macos-latest, stable, luajit)
The `save-state` 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/
Test modules (macos-latest, stable, luajit)
The `save-state` 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/
Test modules (macos-latest, stable, luajit)
The `save-state` 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/
Test modules (macos-latest, stable, luajit)
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/
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L675
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:675:24 | 675 | ptr::write(ud as *mut WrappedFailure, WrappedFailure::Panic(Some(p))); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L652
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:652:33 | 652 | let wrapped_error = ud as *mut WrappedFailure; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L645
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:645:21 | 645 | let inner = Arc::new(UnsafeCell::new(LuaInner { | _____________________^ 646 | | state, 647 | | main_state, 648 | | extra: Arc::clone(&extra), ... | 652 | | _no_ref_unwind_safe: PhantomData, 653 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<LuaInner>` = note: the trait `Sync` is not implemented for `UnsafeCell<LuaInner>` = note: required for `Arc<UnsafeCell<LuaInner>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L581
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:581:21 | 581 | let extra = Arc::new(UnsafeCell::new(ExtraData { | _____________________^ 582 | | inner: None, 583 | | registered_userdata: FxHashMap::default(), 584 | | registered_userdata_mt: FxHashMap::default(), ... | 608 | | sandboxed: false, 609 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<ExtraData>` = note: the trait `Sync` is not implemented for `UnsafeCell<ExtraData>` = note: required for `Arc<UnsafeCell<ExtraData>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
`Box::new(_)` of default value: src/lua.rs#L449
warning: `Box::new(_)` of default value --> src/lua.rs:449:46 | 449 | let mut mem_info = Box::into_raw(Box::new(MemoryInfo::default())); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default = note: `#[warn(clippy::box_default)]` on by default
unneeded sub `cfg` when there is only one condition: src/userdata.rs#L142
warning: unneeded sub `cfg` when there is only one condition --> src/userdata.rs:142:11 | 142 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/table.rs#L622
warning: unneeded sub `cfg` when there is only one condition --> src/table.rs:622:11 | 622 | #[cfg(any(feature = "serialize"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "serialize"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L1337
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:1337:11 | 1337 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L152
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:152:11 | 152 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L66
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:66:7 | 66 | #[cfg(all(any( | _______^ 67 | | all(target_arch = "riscv32", target_os = "espidf"), 68 | | all(target_arch = "xtensa", target_os = "espidf"), 69 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 66 ~ #[cfg(any( 67 + all(target_arch = "riscv32", target_os = "espidf"), 68 + all(target_arch = "xtensa", target_os = "espidf"), 69 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L55
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:55:7 | 55 | #[cfg(all(any( | _______^ 56 | | target_arch = "x86_64", 57 | | target_arch = "aarch64", 58 | | target_arch = "mips64", ... | 62 | | target_arch = "wasm64", 63 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 55 ~ #[cfg(any( 56 + target_arch = "x86_64", 57 + target_arch = "aarch64", 58 + target_arch = "mips64", 59 + target_arch = "s390x", 60 + target_arch = "sparc64", 61 + target_arch = "riscv64", 62 + target_arch = "wasm64", 63 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L41
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:41:7 | 41 | #[cfg(all(any( | _______^ 42 | | target_arch = "x86", 43 | | target_arch = "arm", 44 | | target_arch = "mips", ... | 52 | | all(target_arch = "xtensa", not(target_os = "espidf")), 53 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 41 ~ #[cfg(any( 42 + target_arch = "x86", 43 + target_arch = "arm", 44 + target_arch = "mips", 45 + target_arch = "powerpc", 46 + target_arch = "powerpc64", 47 + target_arch = "sparc", 48 + target_arch = "asmjs", 49 + target_arch = "wasm32", 50 + target_arch = "hexagon", 51 + all(target_arch = "riscv32", not(target_os = "espidf")), 52 + all(target_arch = "xtensa", not(target_os = "espidf")), 53 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/lib.rs#L201
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:201:7 | 201 | #[cfg(any(feature = "macros"))] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "macros"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lib.rs#L144
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:144:7 | 144 | #[cfg(any(feature = "mlua_derive"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "mlua_derive"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L675
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:675:24 | 675 | ptr::write(ud as *mut WrappedFailure, WrappedFailure::Panic(Some(p))); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L652
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:652:33 | 652 | let wrapped_error = ud as *mut WrappedFailure; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L645
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:645:21 | 645 | let inner = Arc::new(UnsafeCell::new(LuaInner { | _____________________^ 646 | | state, 647 | | main_state, 648 | | extra: Arc::clone(&extra), ... | 652 | | _no_ref_unwind_safe: PhantomData, 653 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<LuaInner>` = note: the trait `Sync` is not implemented for `UnsafeCell<LuaInner>` = note: required for `Arc<UnsafeCell<LuaInner>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L581
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:581:21 | 581 | let extra = Arc::new(UnsafeCell::new(ExtraData { | _____________________^ 582 | | inner: None, 583 | | registered_userdata: FxHashMap::default(), 584 | | registered_userdata_mt: FxHashMap::default(), ... | 608 | | sandboxed: false, 609 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<ExtraData>` = note: the trait `Sync` is not implemented for `UnsafeCell<ExtraData>` = note: required for `Arc<UnsafeCell<ExtraData>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
`Box::new(_)` of default value: src/lua.rs#L449
warning: `Box::new(_)` of default value --> src/lua.rs:449:46 | 449 | let mut mem_info = Box::into_raw(Box::new(MemoryInfo::default())); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default = note: `#[warn(clippy::box_default)]` on by default
casting to the same type is unnecessary (`i32` -> `i32`): src/hook.rs#L165
warning: casting to the same type is unnecessary (`i32` -> `i32`) --> src/hook.rs:165:26 | 165 | num_ups: (*self.ar.get()).nups as i32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(*self.ar.get()).nups` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
calls to `push` immediately after creation: src/ffi/mod.rs#L76
warning: calls to `push` immediately after creation --> src/ffi/mod.rs:76:5 | 76 | / let mut symbols: Vec<*const extern "C" fn()> = Vec::new(); 77 | | symbols.push(lua_atpanic as _); 78 | | symbols.push(lua_isuserdata as _); 79 | | symbols.push(lua_tocfunction as _); 80 | | symbols.push(luaL_loadstring as _); 81 | | symbols.push(luaL_openlibs as _); | |_____________________________________^ help: consider using the `vec![]` macro: `let symbols: Vec<*const extern "C" fn()> = vec![..];` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push = note: `#[warn(clippy::vec_init_then_push)]` on by default
unneeded sub `cfg` when there is only one condition: src/userdata.rs#L142
warning: unneeded sub `cfg` when there is only one condition --> src/userdata.rs:142:11 | 142 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/table.rs#L622
warning: unneeded sub `cfg` when there is only one condition --> src/table.rs:622:11 | 622 | #[cfg(any(feature = "serialize"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "serialize"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L1337
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:1337:11 | 1337 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L152
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:152:11 | 152 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L66
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:66:7 | 66 | #[cfg(all(any( | _______^ 67 | | all(target_arch = "riscv32", target_os = "espidf"), 68 | | all(target_arch = "xtensa", target_os = "espidf"), 69 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 66 ~ #[cfg(any( 67 + all(target_arch = "riscv32", target_os = "espidf"), 68 + all(target_arch = "xtensa", target_os = "espidf"), 69 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L55
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:55:7 | 55 | #[cfg(all(any( | _______^ 56 | | target_arch = "x86_64", 57 | | target_arch = "aarch64", 58 | | target_arch = "mips64", ... | 62 | | target_arch = "wasm64", 63 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 55 ~ #[cfg(any( 56 + target_arch = "x86_64", 57 + target_arch = "aarch64", 58 + target_arch = "mips64", 59 + target_arch = "s390x", 60 + target_arch = "sparc64", 61 + target_arch = "riscv64", 62 + target_arch = "wasm64", 63 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L41
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:41:7 | 41 | #[cfg(all(any( | _______^ 42 | | target_arch = "x86", 43 | | target_arch = "arm", 44 | | target_arch = "mips", ... | 52 | | all(target_arch = "xtensa", not(target_os = "espidf")), 53 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 41 ~ #[cfg(any( 42 + target_arch = "x86", 43 + target_arch = "arm", 44 + target_arch = "mips", 45 + target_arch = "powerpc", 46 + target_arch = "powerpc64", 47 + target_arch = "sparc", 48 + target_arch = "asmjs", 49 + target_arch = "wasm32", 50 + target_arch = "hexagon", 51 + all(target_arch = "riscv32", not(target_os = "espidf")), 52 + all(target_arch = "xtensa", not(target_os = "espidf")), 53 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/lib.rs#L201
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:201:7 | 201 | #[cfg(any(feature = "macros"))] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "macros"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L675
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:675:24 | 675 | ptr::write(ud as *mut WrappedFailure, WrappedFailure::Panic(Some(p))); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L652
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:652:33 | 652 | let wrapped_error = ud as *mut WrappedFailure; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
unneeded sub `cfg` when there is only one condition: src/lib.rs#L144
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:144:7 | 144 | #[cfg(any(feature = "mlua_derive"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "mlua_derive"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L645
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:645:21 | 645 | let inner = Arc::new(UnsafeCell::new(LuaInner { | _____________________^ 646 | | state, 647 | | main_state, 648 | | extra: Arc::clone(&extra), ... | 652 | | _no_ref_unwind_safe: PhantomData, 653 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<LuaInner>` = note: the trait `Sync` is not implemented for `UnsafeCell<LuaInner>` = note: required for `Arc<UnsafeCell<LuaInner>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L581
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:581:21 | 581 | let extra = Arc::new(UnsafeCell::new(ExtraData { | _____________________^ 582 | | inner: None, 583 | | registered_userdata: FxHashMap::default(), 584 | | registered_userdata_mt: FxHashMap::default(), ... | 608 | | sandboxed: false, 609 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<ExtraData>` = note: the trait `Sync` is not implemented for `UnsafeCell<ExtraData>` = note: required for `Arc<UnsafeCell<ExtraData>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
`Box::new(_)` of default value: src/lua.rs#L449
warning: `Box::new(_)` of default value --> src/lua.rs:449:46 | 449 | let mut mem_info = Box::into_raw(Box::new(MemoryInfo::default())); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default = note: `#[warn(clippy::box_default)]` on by default
unneeded sub `cfg` when there is only one condition: src/userdata.rs#L142
warning: unneeded sub `cfg` when there is only one condition --> src/userdata.rs:142:11 | 142 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/table.rs#L622
warning: unneeded sub `cfg` when there is only one condition --> src/table.rs:622:11 | 622 | #[cfg(any(feature = "serialize"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "serialize"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L1337
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:1337:11 | 1337 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L152
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:152:11 | 152 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L66
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:66:7 | 66 | #[cfg(all(any( | _______^ 67 | | all(target_arch = "riscv32", target_os = "espidf"), 68 | | all(target_arch = "xtensa", target_os = "espidf"), 69 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 66 ~ #[cfg(any( 67 + all(target_arch = "riscv32", target_os = "espidf"), 68 + all(target_arch = "xtensa", target_os = "espidf"), 69 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L55
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:55:7 | 55 | #[cfg(all(any( | _______^ 56 | | target_arch = "x86_64", 57 | | target_arch = "aarch64", 58 | | target_arch = "mips64", ... | 62 | | target_arch = "wasm64", 63 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 55 ~ #[cfg(any( 56 + target_arch = "x86_64", 57 + target_arch = "aarch64", 58 + target_arch = "mips64", 59 + target_arch = "s390x", 60 + target_arch = "sparc64", 61 + target_arch = "riscv64", 62 + target_arch = "wasm64", 63 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L41
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:41:7 | 41 | #[cfg(all(any( | _______^ 42 | | target_arch = "x86", 43 | | target_arch = "arm", 44 | | target_arch = "mips", ... | 52 | | all(target_arch = "xtensa", not(target_os = "espidf")), 53 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 41 ~ #[cfg(any( 42 + target_arch = "x86", 43 + target_arch = "arm", 44 + target_arch = "mips", 45 + target_arch = "powerpc", 46 + target_arch = "powerpc64", 47 + target_arch = "sparc", 48 + target_arch = "asmjs", 49 + target_arch = "wasm32", 50 + target_arch = "hexagon", 51 + all(target_arch = "riscv32", not(target_os = "espidf")), 52 + all(target_arch = "xtensa", not(target_os = "espidf")), 53 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/lib.rs#L201
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:201:7 | 201 | #[cfg(any(feature = "macros"))] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "macros"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lib.rs#L144
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:144:7 | 144 | #[cfg(any(feature = "mlua_derive"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "mlua_derive"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L675
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:675:24 | 675 | ptr::write(ud as *mut WrappedFailure, WrappedFailure::Panic(Some(p))); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L652
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:652:33 | 652 | let wrapped_error = ud as *mut WrappedFailure; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L645
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:645:21 | 645 | let inner = Arc::new(UnsafeCell::new(LuaInner { | _____________________^ 646 | | state, 647 | | main_state, 648 | | extra: Arc::clone(&extra), ... | 652 | | _no_ref_unwind_safe: PhantomData, 653 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<LuaInner>` = note: the trait `Sync` is not implemented for `UnsafeCell<LuaInner>` = note: required for `Arc<UnsafeCell<LuaInner>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L581
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:581:21 | 581 | let extra = Arc::new(UnsafeCell::new(ExtraData { | _____________________^ 582 | | inner: None, 583 | | registered_userdata: FxHashMap::default(), 584 | | registered_userdata_mt: FxHashMap::default(), ... | 608 | | sandboxed: false, 609 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<ExtraData>` = note: the trait `Sync` is not implemented for `UnsafeCell<ExtraData>` = note: required for `Arc<UnsafeCell<ExtraData>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
`Box::new(_)` of default value: src/lua.rs#L449
warning: `Box::new(_)` of default value --> src/lua.rs:449:46 | 449 | let mut mem_info = Box::into_raw(Box::new(MemoryInfo::default())); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default = note: `#[warn(clippy::box_default)]` on by default
unneeded sub `cfg` when there is only one condition: src/userdata.rs#L142
warning: unneeded sub `cfg` when there is only one condition --> src/userdata.rs:142:11 | 142 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/table.rs#L622
warning: unneeded sub `cfg` when there is only one condition --> src/table.rs:622:11 | 622 | #[cfg(any(feature = "serialize"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "serialize"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L1337
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:1337:11 | 1337 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L152
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:152:11 | 152 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L66
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:66:7 | 66 | #[cfg(all(any( | _______^ 67 | | all(target_arch = "riscv32", target_os = "espidf"), 68 | | all(target_arch = "xtensa", target_os = "espidf"), 69 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 66 ~ #[cfg(any( 67 + all(target_arch = "riscv32", target_os = "espidf"), 68 + all(target_arch = "xtensa", target_os = "espidf"), 69 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L55
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:55:7 | 55 | #[cfg(all(any( | _______^ 56 | | target_arch = "x86_64", 57 | | target_arch = "aarch64", 58 | | target_arch = "mips64", ... | 62 | | target_arch = "wasm64", 63 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 55 ~ #[cfg(any( 56 + target_arch = "x86_64", 57 + target_arch = "aarch64", 58 + target_arch = "mips64", 59 + target_arch = "s390x", 60 + target_arch = "sparc64", 61 + target_arch = "riscv64", 62 + target_arch = "wasm64", 63 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L41
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:41:7 | 41 | #[cfg(all(any( | _______^ 42 | | target_arch = "x86", 43 | | target_arch = "arm", 44 | | target_arch = "mips", ... | 52 | | all(target_arch = "xtensa", not(target_os = "espidf")), 53 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 41 ~ #[cfg(any( 42 + target_arch = "x86", 43 + target_arch = "arm", 44 + target_arch = "mips", 45 + target_arch = "powerpc", 46 + target_arch = "powerpc64", 47 + target_arch = "sparc", 48 + target_arch = "asmjs", 49 + target_arch = "wasm32", 50 + target_arch = "hexagon", 51 + all(target_arch = "riscv32", not(target_os = "espidf")), 52 + all(target_arch = "xtensa", not(target_os = "espidf")), 53 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/lib.rs#L201
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:201:7 | 201 | #[cfg(any(feature = "macros"))] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "macros"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lib.rs#L144
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:144:7 | 144 | #[cfg(any(feature = "mlua_derive"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "mlua_derive"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L675
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:675:24 | 675 | ptr::write(ud as *mut WrappedFailure, WrappedFailure::Panic(Some(p))); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L652
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:652:33 | 652 | let wrapped_error = ud as *mut WrappedFailure; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L645
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:645:21 | 645 | let inner = Arc::new(UnsafeCell::new(LuaInner { | _____________________^ 646 | | state, 647 | | main_state, 648 | | extra: Arc::clone(&extra), ... | 652 | | _no_ref_unwind_safe: PhantomData, 653 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<LuaInner>` = note: the trait `Sync` is not implemented for `UnsafeCell<LuaInner>` = note: required for `Arc<UnsafeCell<LuaInner>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L581
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:581:21 | 581 | let extra = Arc::new(UnsafeCell::new(ExtraData { | _____________________^ 582 | | inner: None, 583 | | registered_userdata: FxHashMap::default(), 584 | | registered_userdata_mt: FxHashMap::default(), ... | 608 | | sandboxed: false, 609 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<ExtraData>` = note: the trait `Sync` is not implemented for `UnsafeCell<ExtraData>` = note: required for `Arc<UnsafeCell<ExtraData>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
`Box::new(_)` of default value: src/lua.rs#L449
warning: `Box::new(_)` of default value --> src/lua.rs:449:46 | 449 | let mut mem_info = Box::into_raw(Box::new(MemoryInfo::default())); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default = note: `#[warn(clippy::box_default)]` on by default
casting to the same type is unnecessary (`i32` -> `i32`): src/hook.rs#L165
warning: casting to the same type is unnecessary (`i32` -> `i32`) --> src/hook.rs:165:26 | 165 | num_ups: (*self.ar.get()).nups as i32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(*self.ar.get()).nups` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
calls to `push` immediately after creation: src/ffi/mod.rs#L76
warning: calls to `push` immediately after creation --> src/ffi/mod.rs:76:5 | 76 | / let mut symbols: Vec<*const extern "C" fn()> = Vec::new(); 77 | | symbols.push(lua_atpanic as _); 78 | | symbols.push(lua_isuserdata as _); 79 | | symbols.push(lua_tocfunction as _); 80 | | symbols.push(luaL_loadstring as _); 81 | | symbols.push(luaL_openlibs as _); | |_____________________________________^ help: consider using the `vec![]` macro: `let symbols: Vec<*const extern "C" fn()> = vec![..];` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push = note: `#[warn(clippy::vec_init_then_push)]` on by default
unneeded sub `cfg` when there is only one condition: src/userdata.rs#L142
warning: unneeded sub `cfg` when there is only one condition --> src/userdata.rs:142:11 | 142 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/table.rs#L622
warning: unneeded sub `cfg` when there is only one condition --> src/table.rs:622:11 | 622 | #[cfg(any(feature = "serialize"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "serialize"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L1337
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:1337:11 | 1337 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L152
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:152:11 | 152 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L675
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:675:24 | 675 | ptr::write(ud as *mut WrappedFailure, WrappedFailure::Panic(Some(p))); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L66
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:66:7 | 66 | #[cfg(all(any( | _______^ 67 | | all(target_arch = "riscv32", target_os = "espidf"), 68 | | all(target_arch = "xtensa", target_os = "espidf"), 69 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 66 ~ #[cfg(any( 67 + all(target_arch = "riscv32", target_os = "espidf"), 68 + all(target_arch = "xtensa", target_os = "espidf"), 69 ~ ))] |
casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`): src/util.rs#L652
warning: casting raw pointers to the same type and constness is unnecessary (`*mut util::WrappedFailure` -> `*mut util::WrappedFailure`) --> src/util.rs:652:33 | 652 | let wrapped_error = ud as *mut WrappedFailure; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ud` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L55
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:55:7 | 55 | #[cfg(all(any( | _______^ 56 | | target_arch = "x86_64", 57 | | target_arch = "aarch64", 58 | | target_arch = "mips64", ... | 62 | | target_arch = "wasm64", 63 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 55 ~ #[cfg(any( 56 + target_arch = "x86_64", 57 + target_arch = "aarch64", 58 + target_arch = "mips64", 59 + target_arch = "s390x", 60 + target_arch = "sparc64", 61 + target_arch = "riscv64", 62 + target_arch = "wasm64", 63 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L41
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:41:7 | 41 | #[cfg(all(any( | _______^ 42 | | target_arch = "x86", 43 | | target_arch = "arm", 44 | | target_arch = "mips", ... | 52 | | all(target_arch = "xtensa", not(target_os = "espidf")), 53 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 41 ~ #[cfg(any( 42 + target_arch = "x86", 43 + target_arch = "arm", 44 + target_arch = "mips", 45 + target_arch = "powerpc", 46 + target_arch = "powerpc64", 47 + target_arch = "sparc", 48 + target_arch = "asmjs", 49 + target_arch = "wasm32", 50 + target_arch = "hexagon", 51 + all(target_arch = "riscv32", not(target_os = "espidf")), 52 + all(target_arch = "xtensa", not(target_os = "espidf")), 53 ~ ))] |
type parameter `T` goes unused in function definition: src/util.rs#L540
warning: type parameter `T` goes unused in function definition --> src/util.rs:540:38 | 540 | pub unsafe fn init_userdata_metatable<T>( | ^^^ help: consider removing the parameter | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters = note: `#[warn(clippy::extra_unused_type_parameters)]` on by default
unneeded sub `cfg` when there is only one condition: src/lib.rs#L201
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:201:7 | 201 | #[cfg(any(feature = "macros"))] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "macros"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L645
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:645:21 | 645 | let inner = Arc::new(UnsafeCell::new(LuaInner { | _____________________^ 646 | | state, 647 | | main_state, 648 | | extra: Arc::clone(&extra), ... | 652 | | _no_ref_unwind_safe: PhantomData, 653 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<LuaInner>` = note: the trait `Sync` is not implemented for `UnsafeCell<LuaInner>` = note: required for `Arc<UnsafeCell<LuaInner>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
unneeded sub `cfg` when there is only one condition: src/lib.rs#L144
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:144:7 | 144 | #[cfg(any(feature = "mlua_derive"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "mlua_derive"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
usage of an `Arc` that is not `Send` or `Sync`: src/lua.rs#L581
warning: usage of an `Arc` that is not `Send` or `Sync` --> src/lua.rs:581:21 | 581 | let extra = Arc::new(UnsafeCell::new(ExtraData { | _____________________^ 582 | | inner: None, 583 | | registered_userdata: FxHashMap::default(), 584 | | registered_userdata_mt: FxHashMap::default(), ... | 608 | | sandboxed: false, 609 | | })); | |___________^ | = note: the trait `Send` is not implemented for `UnsafeCell<ExtraData>` = note: the trait `Sync` is not implemented for `UnsafeCell<ExtraData>` = note: required for `Arc<UnsafeCell<ExtraData>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
`Box::new(_)` of default value: src/lua.rs#L449
warning: `Box::new(_)` of default value --> src/lua.rs:449:46 | 449 | let mut mem_info = Box::into_raw(Box::new(MemoryInfo::default())); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default = note: `#[warn(clippy::box_default)]` on by default
unneeded sub `cfg` when there is only one condition: src/userdata.rs#L142
warning: unneeded sub `cfg` when there is only one condition --> src/userdata.rs:142:11 | 142 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/table.rs#L622
warning: unneeded sub `cfg` when there is only one condition --> src/table.rs:622:11 | 622 | #[cfg(any(feature = "serialize"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "serialize"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L1337
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:1337:11 | 1337 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lua.rs#L152
warning: unneeded sub `cfg` when there is only one condition --> src/lua.rs:152:11 | 152 | #[cfg(any(feature = "lua54"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "lua54"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L66
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:66:7 | 66 | #[cfg(all(any( | _______^ 67 | | all(target_arch = "riscv32", target_os = "espidf"), 68 | | all(target_arch = "xtensa", target_os = "espidf"), 69 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 66 ~ #[cfg(any( 67 + all(target_arch = "riscv32", target_os = "espidf"), 68 + all(target_arch = "xtensa", target_os = "espidf"), 69 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L55
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:55:7 | 55 | #[cfg(all(any( | _______^ 56 | | target_arch = "x86_64", 57 | | target_arch = "aarch64", 58 | | target_arch = "mips64", ... | 62 | | target_arch = "wasm64", 63 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 55 ~ #[cfg(any( 56 + target_arch = "x86_64", 57 + target_arch = "aarch64", 58 + target_arch = "mips64", 59 + target_arch = "s390x", 60 + target_arch = "sparc64", 61 + target_arch = "riscv64", 62 + target_arch = "wasm64", 63 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/ffi/mod.rs#L41
warning: unneeded sub `cfg` when there is only one condition --> src/ffi/mod.rs:41:7 | 41 | #[cfg(all(any( | _______^ 42 | | target_arch = "x86", 43 | | target_arch = "arm", 44 | | target_arch = "mips", ... | 52 | | all(target_arch = "xtensa", not(target_os = "espidf")), 53 | | )))] | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg help: try | 41 ~ #[cfg(any( 42 + target_arch = "x86", 43 + target_arch = "arm", 44 + target_arch = "mips", 45 + target_arch = "powerpc", 46 + target_arch = "powerpc64", 47 + target_arch = "sparc", 48 + target_arch = "asmjs", 49 + target_arch = "wasm32", 50 + target_arch = "hexagon", 51 + all(target_arch = "riscv32", not(target_os = "espidf")), 52 + all(target_arch = "xtensa", not(target_os = "espidf")), 53 ~ ))] |
unneeded sub `cfg` when there is only one condition: src/lib.rs#L201
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:201:7 | 201 | #[cfg(any(feature = "macros"))] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "macros"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lib.rs#L144
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:144:7 | 144 | #[cfg(any(feature = "mlua_derive"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "mlua_derive"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default