Skip to content

hot reload mint modules #396

hot reload mint modules

hot reload mint modules #396

Triggered via push November 4, 2024 04:14
Status Failure
Total duration 4m 59s
Artifacts

check.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

26 errors and 2 warnings
unsafe function's docs are missing a `# Safety` section: hook_modules/hook_lib/src/ue/world.rs#L67
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
unsafe function's docs are missing a `# Safety` section: hook_modules/hook_lib/src/ue/malloc.rs#L22
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
unsafe function's docs are missing a `# Safety` section: hook_modules/hook_lib/src/ue/malloc.rs#L14
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
unsafe function's docs are missing a `# Safety` section: hook_modules/hook_lib/src/ue/malloc.rs#L11
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
unsafe function's docs are missing a `# Safety` section: hook_modules/hook_lib/src/ue/kismet.rs#L24
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
this function has too many arguments (10/7): hook_modules/hook_lib/src/ue/debug_drawing.rs#L318
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
this function has too many arguments (10/7): hook_modules/hook_lib/src/ue/debug_drawing.rs#L287
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
this function has too many arguments (10/7): hook_modules/hook_lib/src/ue/debug_drawing.rs#L256
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)]`
unsafe function's docs are missing a `# Safety` section: hook_modules/hook_lib/src/ue/debug_drawing.rs#L11
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)]`
function `exec_draw_debug_box` is never used: hook_modules/hook_lib/src/ue/debug_drawing.rs#L887
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( | ^^^^^^^^^^^^^^^^^^^
function `exec_draw_debug_capsule` is never used: hook_modules/hook_lib/src/ue/debug_drawing.rs#L578
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( | ^^^^^^^^^^^^^^^^^^^^^^^
function `exec_draw_debug_cylinder` is never used: hook_modules/hook_lib/src/ue/debug_drawing.rs#L495
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( | ^^^^^^^^^^^^^^^^^^^^^^^^
function `exec_draw_debug_cone_in_degrees` is never used: hook_modules/hook_lib/src/ue/debug_drawing.rs#L456
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( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
function `exec_draw_debug_cone` is never used: hook_modules/hook_lib/src/ue/debug_drawing.rs#L418
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( | ^^^^^^^^^^^^^^^^^^^^
function `draw_cone` is never used: hook_modules/hook_lib/src/ue/debug_drawing.rs#L318
error: function `draw_cone` is never used --> hook_modules/hook_lib/src/ue/debug_drawing.rs:318:4 | 318 | fn draw_cone( | ^^^^^^^^^
function `add_circle` is never used: hook_modules/hook_lib/src/ue/debug_drawing.rs#L287
error: function `add_circle` is never used --> hook_modules/hook_lib/src/ue/debug_drawing.rs:287:4 | 287 | fn add_circle( | ^^^^^^^^^^
function `add_half_circle` is never used: hook_modules/hook_lib/src/ue/debug_drawing.rs#L256
error: function `add_half_circle` is never used --> hook_modules/hook_lib/src/ue/debug_drawing.rs:256:4 | 256 | fn add_half_circle( | ^^^^^^^^^^^^^^^
function `get_origin` is never used: hook_modules/hook_lib/src/ue/debug_drawing.rs#L250
error: function `get_origin` is never used --> hook_modules/hook_lib/src/ue/debug_drawing.rs:250:4 | 250 | fn get_origin<T: Copy>( | ^^^^^^^^^^
function `find_best_axis_vectors` is never used: hook_modules/hook_lib/src/ue/debug_drawing.rs#L233
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>) { | ^^^^^^^^^^^^^^^^^^^^^^
function `exec_draw_debug_sphere` is never used: hook_modules/hook_lib/src/ue/debug_drawing.rs#L204
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( | ^^^^^^^^^^^^^^^^^^^^^^
function `exec_draw_debug_circle` is never used: hook_modules/hook_lib/src/ue/debug_drawing.rs#L126
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( | ^^^^^^^^^^^^^^^^^^^^^^
function `exec_draw_debug_point` is never used: hook_modules/hook_lib/src/ue/debug_drawing.rs#L102
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( | ^^^^^^^^^^^^^^^^^^^^^
function `exec_draw_debug_line` is never used: hook_modules/hook_lib/src/ue/debug_drawing.rs#L77
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)]`
unused import: `crate::ue`: hook_modules/hook_lib/src/util.rs#L4
error: unused import: `crate::ue` --> hook_modules/hook_lib/src/util.rs:4:5 | 4 | use crate::ue; | ^^^^^^^^^
unused import: `element_ptr::element_ptr`: hook_modules/hook_lib/src/util.rs#L1
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)]`
check
Clippy had exited with the 101 exit code
check
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/
check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/