upd to recent bevy #117
Annotations
13 errors and 18 warnings
use of deprecated field `bevy::prelude::shape::Capsule::depth`: please use the `Capsule3d` primitive in `bevy_math` instead:
src/adapters.rs#L104
error: use of deprecated field `bevy::prelude::shape::Capsule::depth`: please use the `Capsule3d` primitive in `bevy_math` instead
--> src/adapters.rs:104:13
|
104 | depth: size[2] * 2.0,
| ^^^^^^^^^^^^^^^^^^^^
|
use of deprecated field `bevy::prelude::shape::Capsule::radius`: please use the `Capsule3d` primitive in `bevy_math` instead:
src/adapters.rs#L103
error: use of deprecated field `bevy::prelude::shape::Capsule::radius`: please use the `Capsule3d` primitive in `bevy_math` instead
--> src/adapters.rs:103:13
|
103 | radius: size[0],
| ^^^^^^^^^^^^^^^
|
use of deprecated field `bevy::prelude::shape::UVSphere::radius`: please use the `Sphere` primitive in `bevy_math` instead:
src/adapters.rs#L99
error: use of deprecated field `bevy::prelude::shape::UVSphere::radius`: please use the `Sphere` primitive in `bevy_math` instead
--> src/adapters.rs:99:13
|
99 | radius: size[0],
| ^^^^^^^^^^^^^^^
|
use of deprecated field `bevy::prelude::shape::Plane::subdivisions`: please use the `Plane3d` primitive in `bevy_math` instead:
src/adapters.rs#L94
error: use of deprecated field `bevy::prelude::shape::Plane::subdivisions`: please use the `Plane3d` primitive in `bevy_math` instead
--> src/adapters.rs:94:17
|
94 | subdivisions: 0,
| ^^^^^^^^^^^^^^^
|
use of deprecated field `bevy::prelude::shape::Plane::size`: please use the `Plane3d` primitive in `bevy_math` instead:
src/adapters.rs#L93
error: use of deprecated field `bevy::prelude::shape::Plane::size`: please use the `Plane3d` primitive in `bevy_math` instead
--> src/adapters.rs:93:17
|
93 | size: plane_size,
| ^^^^^^^^^^^^^^^^
|
use of deprecated struct `bevy::prelude::shape::Capsule`: please use the `Capsule3d` primitive in `bevy_math` instead:
src/adapters.rs#L102
error: use of deprecated struct `bevy::prelude::shape::Capsule`: please use the `Capsule3d` primitive in `bevy_math` instead
--> src/adapters.rs:102:48
|
102 | GeomType::CAPSULE => Mesh::from(shape::Capsule {
| ^^^^^^^
|
use of deprecated struct `bevy::prelude::shape::UVSphere`: please use the `Sphere` primitive in `bevy_math` instead:
src/adapters.rs#L98
error: use of deprecated struct `bevy::prelude::shape::UVSphere`: please use the `Sphere` primitive in `bevy_math` instead
--> src/adapters.rs:98:47
|
98 | GeomType::SPHERE => Mesh::from(shape::UVSphere {
| ^^^^^^^^
|
use of deprecated struct `bevy::prelude::shape::Box`: please use the `Cuboid` primitive for meshing or `Aabb3d` for a bounding volume:
src/adapters.rs#L97
error: use of deprecated struct `bevy::prelude::shape::Box`: please use the `Cuboid` primitive for meshing or `Aabb3d` for a bounding volume
--> src/adapters.rs:97:44
|
97 | GeomType::BOX => Mesh::from(shape::Box::new(size[0], size[1], size[2])),
| ^^^
|
use of deprecated struct `bevy::prelude::shape::Plane`: please use the `Plane3d` primitive in `bevy_math` instead:
src/adapters.rs#L92
error: use of deprecated struct `bevy::prelude::shape::Plane`: please use the `Plane3d` primitive in `bevy_math` instead
--> src/adapters.rs:92:31
|
92 | Mesh::from(shape::Plane {
| ^^^^^
|
= note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
the item `mujoco_rust` is imported redundantly:
src/lib.rs#L11
error: the item `mujoco_rust` is imported redundantly
--> src/lib.rs:11:19
|
11 | use mujoco_rust::{self, Body, Geom, GeomType};
| ^^^^ the item `mujoco_rust` is already defined by prelude
|
the item `Mesh` is imported redundantly:
src/lib.rs#L4
error: the item `Mesh` is imported redundantly
--> src/lib.rs:4:53
|
4 | use bevy::{ecs::system::EntityCommands, prelude::*, render::mesh::Mesh};
| ---------- ^^^^^^^^^^^^^^^^^^
| |
| the item `Mesh` is already imported here
|
the item `Mesh` is imported redundantly:
src/mujoco_shape.rs#L6
error: the item `Mesh` is imported redundantly
--> src/mujoco_shape.rs:6:25
|
4 | prelude::*,
| ---------- the item `Mesh` is already imported here
5 | render::{
6 | mesh::{Indices, Mesh},
| ^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
Clippy
Clippy had exited with the 101 exit code
|
Format
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Format
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/
|
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, 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
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, 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
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test Suite
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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/
|
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/
|