hot reload mint modules #399
clippy
25 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 25 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.84.0-nightly (b8c8287a2 2024-11-03)
- cargo 1.84.0-nightly (031049782 2024-11-01)
- clippy 0.1.84 (b8c8287a22 2024-11-03)
Annotations
Check failure on line 67 in hook_modules/hook_lib/src/ue/world.rs
github-actions / clippy
unsafe function's docs are missing a `# Safety` section
error: unsafe function's docs are missing a `# Safety` section
--> hook_modules/hook_lib/src/ue/world.rs:67:1
|
67 | pub unsafe fn get_world(mut ctx: Option<NonNull<UObject>>) -> Option<NonNull<UWorld>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
Check failure on line 22 in hook_modules/hook_lib/src/ue/malloc.rs
github-actions / clippy
unsafe function's docs are missing a `# Safety` section
error: unsafe function's docs are missing a `# Safety` section
--> hook_modules/hook_lib/src/ue/malloc.rs:22:5
|
22 | pub unsafe fn free(&self, original: *mut c_void) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
Check failure on line 19 in hook_modules/hook_lib/src/ue/malloc.rs
github-actions / clippy
unsafe function's docs are missing a `# Safety` section
error: unsafe function's docs are missing a `# Safety` section
--> hook_modules/hook_lib/src/ue/malloc.rs:14:5
|
14 | / pub unsafe fn realloc(
15 | | &self,
16 | | original: *mut c_void,
17 | | count: usize,
18 | | alignment: u32,
19 | | ) -> *mut c_void {
| |____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
Check failure on line 11 in hook_modules/hook_lib/src/ue/malloc.rs
github-actions / clippy
unsafe function's docs are missing a `# Safety` section
error: unsafe function's docs are missing a `# Safety` section
--> hook_modules/hook_lib/src/ue/malloc.rs:11:5
|
11 | pub unsafe fn malloc(&self, count: usize, alignment: u32) -> *mut c_void {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
Check failure on line 24 in hook_modules/hook_lib/src/ue/kismet.rs
github-actions / clippy
unsafe function's docs are missing a `# Safety` section
error: unsafe function's docs are missing a `# Safety` section
--> hook_modules/hook_lib/src/ue/kismet.rs:24:5
|
24 | pub unsafe fn arg<T: Sized>(self: &mut FFrame) -> T {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
Check failure on line 329 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
this function has too many arguments (10/7)
error: this function has too many arguments (10/7)
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:318:1
|
318 | / fn draw_cone(
319 | | batcher: &mut ULineBatchComponent,
320 | | origin: FVector,
321 | | direction: FVector,
... |
328 | | thickness: f32,
329 | | ) {
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
Check failure on line 298 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
this function has too many arguments (10/7)
error: this function has too many arguments (10/7)
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:287:1
|
287 | / fn add_circle(
288 | | lines: &mut Vec<FBatchedLine>,
289 | | base: &Vector3<f32>,
290 | | x: &Vector3<f32>,
... |
297 | | thickness: f32,
298 | | ) {
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
Check failure on line 267 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
this function has too many arguments (10/7)
error: this function has too many arguments (10/7)
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:256:1
|
256 | / fn add_half_circle(
257 | | lines: &mut Vec<FBatchedLine>,
258 | | base: &Vector3<f32>,
259 | | x: &Vector3<f32>,
... |
266 | | thickness: f32,
267 | | ) {
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `-D clippy::too-many-arguments` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::too_many_arguments)]`
Check failure on line 11 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
unsafe function's docs are missing a `# Safety` section
error: unsafe function's docs are missing a `# Safety` section
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:11:1
|
11 | pub unsafe fn get_batcher(world: NonNull<UWorld>, duration: f32) -> NonNull<ULineBatchComponent> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
= note: `-D clippy::missing-safety-doc` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::missing_safety_doc)]`
Check failure on line 887 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
function `exec_draw_debug_box` is never used
error: function `exec_draw_debug_box` is never used
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:887:27
|
887 | unsafe extern "system" fn exec_draw_debug_box(
| ^^^^^^^^^^^^^^^^^^^
Check failure on line 578 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
function `exec_draw_debug_capsule` is never used
error: function `exec_draw_debug_capsule` is never used
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:578:27
|
578 | unsafe extern "system" fn exec_draw_debug_capsule(
| ^^^^^^^^^^^^^^^^^^^^^^^
Check failure on line 495 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
function `exec_draw_debug_cylinder` is never used
error: function `exec_draw_debug_cylinder` is never used
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:495:27
|
495 | unsafe extern "system" fn exec_draw_debug_cylinder(
| ^^^^^^^^^^^^^^^^^^^^^^^^
Check failure on line 456 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
function `exec_draw_debug_cone_in_degrees` is never used
error: function `exec_draw_debug_cone_in_degrees` is never used
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:456:27
|
456 | unsafe extern "system" fn exec_draw_debug_cone_in_degrees(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check failure on line 418 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
function `exec_draw_debug_cone` is never used
error: function `exec_draw_debug_cone` is never used
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:418:27
|
418 | unsafe extern "system" fn exec_draw_debug_cone(
| ^^^^^^^^^^^^^^^^^^^^
Check failure on line 318 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
function `draw_cone` is never used
error: function `draw_cone` is never used
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:318:4
|
318 | fn draw_cone(
| ^^^^^^^^^
Check failure on line 287 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
function `add_circle` is never used
error: function `add_circle` is never used
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:287:4
|
287 | fn add_circle(
| ^^^^^^^^^^
Check failure on line 256 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
function `add_half_circle` is never used
error: function `add_half_circle` is never used
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:256:4
|
256 | fn add_half_circle(
| ^^^^^^^^^^^^^^^
Check failure on line 250 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
function `get_origin` is never used
error: function `get_origin` is never used
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:250:4
|
250 | fn get_origin<T: Copy>(
| ^^^^^^^^^^
Check failure on line 233 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
function `find_best_axis_vectors` is never used
error: function `find_best_axis_vectors` is never used
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:233:4
|
233 | fn find_best_axis_vectors(direction: &Vector3<f32>) -> (Vector3<f32>, Vector3<f32>) {
| ^^^^^^^^^^^^^^^^^^^^^^
Check failure on line 204 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
function `exec_draw_debug_sphere` is never used
error: function `exec_draw_debug_sphere` is never used
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:204:27
|
204 | unsafe extern "system" fn exec_draw_debug_sphere(
| ^^^^^^^^^^^^^^^^^^^^^^
Check failure on line 126 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
function `exec_draw_debug_circle` is never used
error: function `exec_draw_debug_circle` is never used
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:126:27
|
126 | unsafe extern "system" fn exec_draw_debug_circle(
| ^^^^^^^^^^^^^^^^^^^^^^
Check failure on line 102 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
function `exec_draw_debug_point` is never used
error: function `exec_draw_debug_point` is never used
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:102:27
|
102 | unsafe extern "system" fn exec_draw_debug_point(
| ^^^^^^^^^^^^^^^^^^^^^
Check failure on line 77 in hook_modules/hook_lib/src/ue/debug_drawing.rs
github-actions / clippy
function `exec_draw_debug_line` is never used
error: function `exec_draw_debug_line` is never used
--> hook_modules/hook_lib/src/ue/debug_drawing.rs:77:27
|
77 | unsafe extern "system" fn exec_draw_debug_line(
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
Check failure on line 4 in hook_modules/hook_lib/src/util.rs
github-actions / clippy
unused import: `crate::ue`
error: unused import: `crate::ue`
--> hook_modules/hook_lib/src/util.rs:4:5
|
4 | use crate::ue;
| ^^^^^^^^^
Check failure on line 1 in hook_modules/hook_lib/src/util.rs
github-actions / clippy
unused import: `element_ptr::element_ptr`
error: unused import: `element_ptr::element_ptr`
--> hook_modules/hook_lib/src/util.rs:1:5
|
1 | use element_ptr::element_ptr;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`