Fix Docs&Demos CI #151
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
ci.yml
on: push
Matrix: Tests
Update Docs and Demos in GitHub Pages
9m 54s
Rustfmt
5s
CI
2s
deploy-ghpages
1m 44s
Annotations
74 warnings
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|
very complex type used. Consider factoring parts into `type` definitions:
examples/platformer_xpbd3d.rs#L331
warning: very complex type used. Consider factoring parts into `type` definitions
--> examples/platformer_xpbd3d.rs:331:16
|
331 | mut query: Query<(
| ________________^
332 | | &CharacterMotionConfigForPlatformerExample,
333 | | &mut TnuaController,
334 | | &mut TnuaCrouchEnforcer,
... |
339 | | &mut TnuaSimpleAirActionsCounter,
340 | | )>,
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
you are using an explicit closure for copying elements:
examples/common/ui_plotting.rs#L35
warning: you are using an explicit closure for copying elements
--> examples/common/ui_plotting.rs:35:29
|
35 | .map(|plot| plot.iter().map(|curve_data| *curve_data).collect())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling the dedicated `copied` method: `plot.iter().copied()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
= note: `#[warn(clippy::map_clone)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
examples/common/ui.rs#L114
warning: very complex type used. Consider factoring parts into `type` definitions
--> examples/common/ui.rs:114:16
|
114 | mut query: Query<(
| ________________^
115 | | Entity,
116 | | &TrackedEntity,
117 | | &PlotSource,
... |
121 | | Option<&mut CommandAlteringSelectors>,
122 | | )>,
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`:
examples/common/ui.rs#L87
warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`
--> examples/common/ui.rs:87:18
|
87 | .into_iter()
| ^^^^^^^^^ help: call directly: `iter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
= note: `#[warn(clippy::into_iter_on_ref)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
examples/common/ui.rs#L81
warning: very complex type used. Consider factoring parts into `type` definitions
--> examples/common/ui.rs:81:18
|
81 | options: &[(&str, fn(EntityCommands))],
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
this `impl` can be derived:
examples/common/ui.rs#L55
warning: this `impl` can be derived
--> examples/common/ui.rs:55:1
|
55 | / impl Default for CommandAlteringSelectors {
56 | | fn default() -> Self {
57 | | Self(Default::default())
58 | | }
59 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: `#[warn(clippy::derivable_impls)]` on by default
= help: remove the manual implementation...
help: ...and instead derive it
|
53 + #[derive(Default)]
54 | pub struct CommandAlteringSelectors(Vec<CommandAlteringSelector>);
|
|
very complex type used. Consider factoring parts into `type` definitions:
examples/platformer_rapier3d.rs#L350
warning: very complex type used. Consider factoring parts into `type` definitions
--> examples/platformer_rapier3d.rs:350:16
|
350 | mut query: Query<(
| ________________^
351 | | &CharacterMotionConfigForPlatformerExample,
352 | | &mut TnuaController,
353 | | &mut TnuaCrouchEnforcer,
... |
358 | | &mut TnuaSimpleAirActionsCounter,
359 | | )>,
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
this `else { if .. }` block can be collapsed:
examples/common/tuning.rs#L73
warning: this `else { if .. }` block can be collapsed
--> examples/common/tuning.rs:73:20
|
73 | } else {
| ____________________^
74 | | if let Some(CachedValue(saved_value)) =
75 | | ui.memory_mut(|memory| memory.data.get_temp(resp.id))
76 | | {
... |
80 | | }
81 | | }
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if
help: collapse nested if block
|
73 ~ } else if let Some(CachedValue(saved_value)) =
74 + ui.memory_mut(|memory| memory.data.get_temp(resp.id))
75 + {
76 + *value = Some(saved_value);
77 + } else {
78 + *value = Some(*range.start());
79 + }
|
|
this `else { if .. }` block can be collapsed:
examples/common/tuning.rs#L30
warning: this `else { if .. }` block can be collapsed
--> examples/common/tuning.rs:30:20
|
30 | } else {
| ____________________^
31 | | if let Some(CachedValue(saved_value)) =
32 | | ui.memory_mut(|memory| memory.data.get_temp(resp.id))
33 | | {
... |
37 | | }
38 | | }
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if
= note: `#[warn(clippy::collapsible_else_if)]` on by default
help: collapse nested if block
|
30 ~ } else if let Some(CachedValue(saved_value)) =
31 + ui.memory_mut(|memory| memory.data.get_temp(resp.id))
32 + {
33 + *value = saved_value;
34 + } else {
35 + *value = *range.end();
36 + }
|
|
you are using an explicit closure for copying elements:
examples/common/ui_plotting.rs#L35
warning: you are using an explicit closure for copying elements
--> examples/common/ui_plotting.rs:35:29
|
35 | .map(|plot| plot.iter().map(|curve_data| *curve_data).collect())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling the dedicated `copied` method: `plot.iter().copied()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
= note: `#[warn(clippy::map_clone)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
examples/common/ui.rs#L114
warning: very complex type used. Consider factoring parts into `type` definitions
--> examples/common/ui.rs:114:16
|
114 | mut query: Query<(
| ________________^
115 | | Entity,
116 | | &TrackedEntity,
117 | | &PlotSource,
... |
121 | | Option<&mut CommandAlteringSelectors>,
122 | | )>,
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`:
examples/common/ui.rs#L87
warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`
--> examples/common/ui.rs:87:18
|
87 | .into_iter()
| ^^^^^^^^^ help: call directly: `iter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
= note: `#[warn(clippy::into_iter_on_ref)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
examples/common/ui.rs#L81
warning: very complex type used. Consider factoring parts into `type` definitions
--> examples/common/ui.rs:81:18
|
81 | options: &[(&str, fn(EntityCommands))],
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
this `impl` can be derived:
examples/common/ui.rs#L55
warning: this `impl` can be derived
--> examples/common/ui.rs:55:1
|
55 | / impl Default for CommandAlteringSelectors {
56 | | fn default() -> Self {
57 | | Self(Default::default())
58 | | }
59 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: `#[warn(clippy::derivable_impls)]` on by default
= help: remove the manual implementation...
help: ...and instead derive it
|
53 + #[derive(Default)]
54 | pub struct CommandAlteringSelectors(Vec<CommandAlteringSelector>);
|
|
very complex type used. Consider factoring parts into `type` definitions:
examples/platformer_rapier2d.rs#L335
warning: very complex type used. Consider factoring parts into `type` definitions
--> examples/platformer_rapier2d.rs:335:16
|
335 | mut query: Query<(
| ________________^
336 | | &CharacterMotionConfigForPlatformerExample,
337 | | &mut TnuaController,
338 | | &mut TnuaCrouchEnforcer,
... |
343 | | &mut TnuaSimpleAirActionsCounter,
344 | | )>,
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
you are using an explicit closure for copying elements:
examples/common/ui_plotting.rs#L35
warning: you are using an explicit closure for copying elements
--> examples/common/ui_plotting.rs:35:29
|
35 | .map(|plot| plot.iter().map(|curve_data| *curve_data).collect())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling the dedicated `copied` method: `plot.iter().copied()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
= note: `#[warn(clippy::map_clone)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
examples/platformer_xpbd2d.rs#L308
warning: very complex type used. Consider factoring parts into `type` definitions
--> examples/platformer_xpbd2d.rs:308:16
|
308 | mut query: Query<(
| ________________^
309 | | &CharacterMotionConfigForPlatformerExample,
310 | | &mut TnuaController,
311 | | &mut TnuaCrouchEnforcer,
... |
316 | | &mut TnuaSimpleAirActionsCounter,
317 | | )>,
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
very complex type used. Consider factoring parts into `type` definitions:
examples/common/ui.rs#L114
warning: very complex type used. Consider factoring parts into `type` definitions
--> examples/common/ui.rs:114:16
|
114 | mut query: Query<(
| ________________^
115 | | Entity,
116 | | &TrackedEntity,
117 | | &PlotSource,
... |
121 | | Option<&mut CommandAlteringSelectors>,
122 | | )>,
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`:
examples/common/ui.rs#L87
warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`
--> examples/common/ui.rs:87:18
|
87 | .into_iter()
| ^^^^^^^^^ help: call directly: `iter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
= note: `#[warn(clippy::into_iter_on_ref)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
examples/common/ui.rs#L81
warning: very complex type used. Consider factoring parts into `type` definitions
--> examples/common/ui.rs:81:18
|
81 | options: &[(&str, fn(EntityCommands))],
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
this `impl` can be derived:
examples/common/ui.rs#L55
warning: this `impl` can be derived
--> examples/common/ui.rs:55:1
|
55 | / impl Default for CommandAlteringSelectors {
56 | | fn default() -> Self {
57 | | Self(Default::default())
58 | | }
59 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: `#[warn(clippy::derivable_impls)]` on by default
= help: remove the manual implementation...
help: ...and instead derive it
|
53 + #[derive(Default)]
54 | pub struct CommandAlteringSelectors(Vec<CommandAlteringSelector>);
|
|
you are using an explicit closure for copying elements:
examples/common/ui_plotting.rs#L35
warning: you are using an explicit closure for copying elements
--> examples/common/ui_plotting.rs:35:29
|
35 | .map(|plot| plot.iter().map(|curve_data| *curve_data).collect())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling the dedicated `copied` method: `plot.iter().copied()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
= note: `#[warn(clippy::map_clone)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
examples/common/ui.rs#L114
warning: very complex type used. Consider factoring parts into `type` definitions
--> examples/common/ui.rs:114:16
|
114 | mut query: Query<(
| ________________^
115 | | Entity,
116 | | &TrackedEntity,
117 | | &PlotSource,
... |
121 | | Option<&mut CommandAlteringSelectors>,
122 | | )>,
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`:
examples/common/ui.rs#L87
warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`
--> examples/common/ui.rs:87:18
|
87 | .into_iter()
| ^^^^^^^^^ help: call directly: `iter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
= note: `#[warn(clippy::into_iter_on_ref)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
examples/common/ui.rs#L81
warning: very complex type used. Consider factoring parts into `type` definitions
--> examples/common/ui.rs:81:18
|
81 | options: &[(&str, fn(EntityCommands))],
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
this `impl` can be derived:
examples/common/ui.rs#L55
warning: this `impl` can be derived
--> examples/common/ui.rs:55:1
|
55 | / impl Default for CommandAlteringSelectors {
56 | | fn default() -> Self {
57 | | Self(Default::default())
58 | | }
59 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: `#[warn(clippy::derivable_impls)]` on by default
= help: remove the manual implementation...
help: ...and instead derive it
|
53 + #[derive(Default)]
54 | pub struct CommandAlteringSelectors(Vec<CommandAlteringSelector>);
|
|
this `else { if .. }` block can be collapsed:
examples/common/tuning.rs#L73
warning: this `else { if .. }` block can be collapsed
--> examples/common/tuning.rs:73:20
|
73 | } else {
| ____________________^
74 | | if let Some(CachedValue(saved_value)) =
75 | | ui.memory_mut(|memory| memory.data.get_temp(resp.id))
76 | | {
... |
80 | | }
81 | | }
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if
help: collapse nested if block
|
73 ~ } else if let Some(CachedValue(saved_value)) =
74 + ui.memory_mut(|memory| memory.data.get_temp(resp.id))
75 + {
76 + *value = Some(saved_value);
77 + } else {
78 + *value = Some(*range.start());
79 + }
|
|
this `else { if .. }` block can be collapsed:
examples/common/tuning.rs#L30
warning: this `else { if .. }` block can be collapsed
--> examples/common/tuning.rs:30:20
|
30 | } else {
| ____________________^
31 | | if let Some(CachedValue(saved_value)) =
32 | | ui.memory_mut(|memory| memory.data.get_temp(resp.id))
33 | | {
... |
37 | | }
38 | | }
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if
= note: `#[warn(clippy::collapsible_else_if)]` on by default
help: collapse nested if block
|
30 ~ } else if let Some(CachedValue(saved_value)) =
31 + ui.memory_mut(|memory| memory.data.get_temp(resp.id))
32 + {
33 + *value = saved_value;
34 + } else {
35 + *value = *range.end();
36 + }
|
|
this `else { if .. }` block can be collapsed:
examples/common/tuning.rs#L73
warning: this `else { if .. }` block can be collapsed
--> examples/common/tuning.rs:73:20
|
73 | } else {
| ____________________^
74 | | if let Some(CachedValue(saved_value)) =
75 | | ui.memory_mut(|memory| memory.data.get_temp(resp.id))
76 | | {
... |
80 | | }
81 | | }
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if
help: collapse nested if block
|
73 ~ } else if let Some(CachedValue(saved_value)) =
74 + ui.memory_mut(|memory| memory.data.get_temp(resp.id))
75 + {
76 + *value = Some(saved_value);
77 + } else {
78 + *value = Some(*range.start());
79 + }
|
|
this `else { if .. }` block can be collapsed:
examples/common/tuning.rs#L73
warning: this `else { if .. }` block can be collapsed
--> examples/common/tuning.rs:73:20
|
73 | } else {
| ____________________^
74 | | if let Some(CachedValue(saved_value)) =
75 | | ui.memory_mut(|memory| memory.data.get_temp(resp.id))
76 | | {
... |
80 | | }
81 | | }
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if
help: collapse nested if block
|
73 ~ } else if let Some(CachedValue(saved_value)) =
74 + ui.memory_mut(|memory| memory.data.get_temp(resp.id))
75 + {
76 + *value = Some(saved_value);
77 + } else {
78 + *value = Some(*range.start());
79 + }
|
|
this `else { if .. }` block can be collapsed:
examples/common/tuning.rs#L30
warning: this `else { if .. }` block can be collapsed
--> examples/common/tuning.rs:30:20
|
30 | } else {
| ____________________^
31 | | if let Some(CachedValue(saved_value)) =
32 | | ui.memory_mut(|memory| memory.data.get_temp(resp.id))
33 | | {
... |
37 | | }
38 | | }
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if
= note: `#[warn(clippy::collapsible_else_if)]` on by default
help: collapse nested if block
|
30 ~ } else if let Some(CachedValue(saved_value)) =
31 + ui.memory_mut(|memory| memory.data.get_temp(resp.id))
32 + {
33 + *value = saved_value;
34 + } else {
35 + *value = *range.end();
36 + }
|
|
this `else { if .. }` block can be collapsed:
examples/common/tuning.rs#L30
warning: this `else { if .. }` block can be collapsed
--> examples/common/tuning.rs:30:20
|
30 | } else {
| ____________________^
31 | | if let Some(CachedValue(saved_value)) =
32 | | ui.memory_mut(|memory| memory.data.get_temp(resp.id))
33 | | {
... |
37 | | }
38 | | }
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if
= note: `#[warn(clippy::collapsible_else_if)]` on by default
help: collapse nested if block
|
30 ~ } else if let Some(CachedValue(saved_value)) =
31 + ui.memory_mut(|memory| memory.data.get_temp(resp.id))
32 + {
33 + *value = saved_value;
34 + } else {
35 + *value = *range.end();
36 + }
|
|
very complex type used. Consider factoring parts into `type` definitions:
xpbd2d/src/lib.rs#L270
warning: very complex type used. Consider factoring parts into `type` definitions
--> xpbd2d/src/lib.rs:270:16
|
270 | mut query: Query<(
| ________________^
271 | | &TnuaMotor,
272 | | &mut LinearVelocity,
273 | | &mut AngularVelocity,
... |
278 | | Option<&TnuaToggle>,
279 | | )>,
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
in an `if` condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`:
xpbd2d/src/lib.rs#L213
warning: in an `if` condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> xpbd2d/src/lib.rs:213:72
|
213 | || collision_layers.is_some_and(|collision_layers| {
| ________________________________________________________________________^
214 | | let entity_collision_layers =
215 | | entity_collision_layers.copied().unwrap_or_default();
216 | | !collision_layers.interacts_with(entity_collision_layers)
217 | | })
| |_____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_if_conditions
= note: `#[warn(clippy::blocks_in_if_conditions)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
xpbd2d/src/lib.rs#L94
warning: very complex type used. Consider factoring parts into `type` definitions
--> xpbd2d/src/lib.rs:94:25
|
94 | other_object_query: Query<(
| _________________________^
95 | | Option<(&GlobalTransform, &LinearVelocity, &AngularVelocity)>,
96 | | Option<&CollisionLayers>,
97 | | Has<TnuaGhostPlatform>,
98 | | Has<Sensor>,
99 | | )>,
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
very complex type used. Consider factoring parts into `type` definitions:
xpbd2d/src/lib.rs#L84
warning: very complex type used. Consider factoring parts into `type` definitions
--> xpbd2d/src/lib.rs:84:16
|
84 | mut query: Query<(
| ________________^
85 | | Entity,
86 | | &GlobalTransform,
87 | | &mut TnuaProximitySensor,
... |
91 | | Option<&TnuaToggle>,
92 | | )>,
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
using `clone` on type `QueryFilter<'_>` which implements the `Copy` trait:
rapier3d/src/lib.rs#L204
warning: using `clone` on type `QueryFilter<'_>` which implements the `Copy` trait
--> rapier3d/src/lib.rs:204:36
|
204 | let query_filter = query_filter.clone().predicate(&predicate);
| ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `query_filter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `#[warn(clippy::clone_on_copy)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
xpbd3d/src/lib.rs#L269
warning: very complex type used. Consider factoring parts into `type` definitions
--> xpbd3d/src/lib.rs:269:16
|
269 | mut query: Query<(
| ________________^
270 | | &TnuaMotor,
271 | | &mut LinearVelocity,
272 | | &mut AngularVelocity,
... |
277 | | Option<&TnuaToggle>,
278 | | )>,
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
in an `if` condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`:
xpbd3d/src/lib.rs#L213
warning: in an `if` condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> xpbd3d/src/lib.rs:213:72
|
213 | || collision_layers.is_some_and(|collision_layers| {
| ________________________________________________________________________^
214 | | let entity_collision_layers =
215 | | entity_collision_layers.copied().unwrap_or_default();
216 | | !collision_layers.interacts_with(entity_collision_layers)
217 | | })
| |_____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_if_conditions
= note: `#[warn(clippy::blocks_in_if_conditions)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
xpbd3d/src/lib.rs#L94
warning: very complex type used. Consider factoring parts into `type` definitions
--> xpbd3d/src/lib.rs:94:25
|
94 | other_object_query: Query<(
| _________________________^
95 | | Option<(&GlobalTransform, &LinearVelocity, &AngularVelocity)>,
96 | | Option<&CollisionLayers>,
97 | | Has<TnuaGhostPlatform>,
98 | | Has<Sensor>,
99 | | )>,
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
very complex type used. Consider factoring parts into `type` definitions:
xpbd3d/src/lib.rs#L84
warning: very complex type used. Consider factoring parts into `type` definitions
--> xpbd3d/src/lib.rs:84:16
|
84 | mut query: Query<(
| ________________^
85 | | Entity,
86 | | &GlobalTransform,
87 | | &mut TnuaProximitySensor,
... |
91 | | Option<&TnuaToggle>,
92 | | )>,
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
using `clone` on type `QueryFilter<'_>` which implements the `Copy` trait:
rapier2d/src/lib.rs#L204
warning: using `clone` on type `QueryFilter<'_>` which implements the `Copy` trait
--> rapier2d/src/lib.rs:204:36
|
204 | let query_filter = query_filter.clone().predicate(&predicate);
| ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `query_filter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `#[warn(clippy::clone_on_copy)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
rapier2d/src/lib.rs#L103
warning: very complex type used. Consider factoring parts into `type` definitions
--> rapier2d/src/lib.rs:103:16
|
103 | mut query: Query<(
| ________________^
104 | | Entity,
105 | | &GlobalTransform,
106 | | &mut TnuaProximitySensor,
... |
110 | | Option<&TnuaToggle>,
111 | | )>,
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions/cache@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
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
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
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
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Tests (ubuntu-latest, 1.70.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions/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/
|
Tests (ubuntu-latest, 1.70.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Tests (ubuntu-latest, 1.70.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Tests (ubuntu-latest, 1.70.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Tests (ubuntu-latest, 1.70.0)
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/
|
Docs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions/cache@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Docs
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/
|
Docs
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/
|
Docs
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/
|
Docs
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Tests (ubuntu-latest, nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions/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/
|
Tests (ubuntu-latest, nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Tests (ubuntu-latest, nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Tests (ubuntu-latest, nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Tests (ubuntu-latest, nightly)
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/
|
Update Docs and Demos in GitHub Pages
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, jetli/wasm-bindgen-action@v0.1.0, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Update Docs and Demos in GitHub Pages
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/
|
Update Docs and Demos in GitHub Pages
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/
|
Update Docs and Demos in GitHub Pages
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/
|
Update Docs and Demos in GitHub Pages
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/
|
deploy-ghpages
Uploaded artifact size of 1456455680 bytes exceeds the allowed size of 1 GB. Deployment might fail.
|