start adding sneaking #1727
Annotations
3 errors and 7 warnings
this function takes 6 arguments but 5 arguments were supplied:
azalea-physics/src/lib.rs#L286
error[E0061]: this function takes 6 arguments but 5 arguments were supplied
--> azalea-physics/src/lib.rs:286:5
|
286 | move_colliding(
| _____^^^^^^^^^^^^^^-
287 | | &MoverType::Own,
288 | | &physics.velocity.clone(),
289 | | world,
290 | | &mut position,
291 | | physics,
292 | | )
| |_____- an argument of type `&azalea_entity::PlayerAbilities` is missing
|
note: function defined here
--> azalea-physics/src/collision/mod.rs:136:8
|
136 | pub fn move_colliding(
| ^^^^^^^^^^^^^^
137 | _mover_type: &MoverType,
| -----------------------
138 | movement: &Vec3,
| ---------------
139 | world: &Instance,
| ----------------
140 | position: &mut Mut<azalea_entity::Position>,
| -------------------------------------------
141 | physics: &mut azalea_entity::Physics,
| ------------------------------------
142 | abilities: &PlayerAbilities,
| ---------------------------
help: provide the argument
|
286 | move_colliding(&MoverType::Own, &physics.velocity.clone(), world, &mut position, physics, /* &azalea_entity::PlayerAbilities */)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
mismatched types:
azalea-physics/src/collision/mod.rs#L260
error[E0308]: mismatched types
--> azalea-physics/src/collision/mod.rs:260:6
|
255 | fn maybe_back_off_from_edge(
| ------------------------ implicitly returns `()` as its body has no tail or `return` expression
...
260 | ) -> Vec3 {
| ^^^^ expected `Vec3`, found `()`
|
clippy_check
Clippy had exited with the 101 exit code
|
unused variable: `abilities`:
azalea-physics/src/collision/mod.rs#L142
warning: unused variable: `abilities`
--> azalea-physics/src/collision/mod.rs:142:5
|
142 | abilities: &PlayerAbilities,
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_abilities`
|
= note: `#[warn(unused_variables)]` on by default
|
clippy_check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy_check
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/
|
clippy_check
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/
|
clippy_check
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/
|
clippy_check
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/
|