bump bevy version #24
Annotations
7 errors and 17 warnings
you seem to use `.enumerate()` and immediately discard the index:
src/render.rs#L60
error: you seem to use `.enumerate()` and immediately discard the index
--> src/render.rs:60:20
|
60 | for (_, gp) in ai_gym_state_locked
| ____________________^
61 | | .render_image_handles
62 | | .clone()
63 | | .iter()
64 | | .enumerate()
| |____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_enumerate_index
= note: `-D clippy::unused-enumerate-index` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unused_enumerate_index)]`
help: remove the `.enumerate()` call
|
60 ~ for gp in ai_gym_state_locked
61 + .render_image_handles
62 + .clone()
63 + .iter()
|
|
use of deprecated field `bevy::prelude::SpriteBundle::transform`: Use the `Sprite` component instead. Inserting it will now also insert `Transform` and `Visibility` automatically.:
src/lib.rs#L199
error: use of deprecated field `bevy::prelude::SpriteBundle::transform`: Use the `Sprite` component instead. Inserting it will now also insert `Transform` and `Visibility` automatically.
--> src/lib.rs:199:21
|
199 | transform: Transform::from_xyz(x - offset_x, y - offset_y, 0.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
use of deprecated field `bevy::prelude::SpriteBundle::sprite`: Use the `Sprite` component instead. Inserting it will now also insert `Transform` and `Visibility` automatically.:
src/lib.rs#L198
error: use of deprecated field `bevy::prelude::SpriteBundle::sprite`: Use the `Sprite` component instead. Inserting it will now also insert `Transform` and `Visibility` automatically.
--> src/lib.rs:198:21
|
198 | sprite: frames[i].clone().into(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
use of deprecated struct `bevy::prelude::SpriteBundle`: Use the `Sprite` component instead. Inserting it will now also insert `Transform` and `Visibility` automatically.:
src/lib.rs#L197
error: use of deprecated struct `bevy::prelude::SpriteBundle`: Use the `Sprite` component instead. Inserting it will now also insert `Transform` and `Visibility` automatically.
--> src/lib.rs:197:24
|
197 | .spawn(SpriteBundle {
| ^^^^^^^^^^^^
|
use of deprecated struct `bevy::prelude::Camera2dBundle`: Use the `Camera2d` component instead. Inserting it will now also insert the other components required by it automatically.:
src/lib.rs#L171
error: use of deprecated struct `bevy::prelude::Camera2dBundle`: Use the `Camera2d` component instead. Inserting it will now also insert the other components required by it automatically.
--> src/lib.rs:171:16
|
171 | .spawn(Camera2dBundle::default())
| ^^^^^^^^^^^^^^
|
= note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
Clippy
Clippy had exited with the 101 exit code
|
Test Suite
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Test Suite
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
Clippy
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
Format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Format
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/
|
Format
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/
|
Format
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/
|
Format
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
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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/
|
Test Suite
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test Suite
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 Suite
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 Suite
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 Suite
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/
|