You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: use of deprecated method `bevy::ecs::system::EntityCommands::<'w, 's, 'a>::insert_bundle`: Use `insert` instead, which now accepts bundles, components, and tuples of bundles and components.
--> src/systems.rs:44:33
|
44 | commands.entity(player).insert_bundle(
| ^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: unused variable: `event_time`
--> src/movement.rs:103:27
|
103 | Event::Jump { event_time } => {
| ^^^^^^^^^^ help: try ignoring the field: `event_time: _`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: `event_time`
--> src/movement.rs:115:27
|
115 | Event::Jump { event_time } => {
| ^^^^^^^^^^ help: try ignoring the field: `event_time: _`
warning: unused variable: `event_time`
--> src/movement.rs:127:27
|
127 | Event::Jump { event_time } => {
| ^^^^^^^^^^ help: try ignoring the field: `event_time: _`
warning: unused variable: `event_time`
--> src/movement.rs:139:27
|
139 | Event::Jump { event_time } => {
| ^^^^^^^^^^ help: try ignoring the field: `event_time: _`
warning: unused variable: `commands`
--> src/movement.rs:154:5
|
154 | commands: Commands,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
warning: unused variable: `velocity`
--> src/movement.rs:252:9
|
252 | velocity,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_velocity`
warning: unused variable: `action_state`
--> src/movement.rs:254:9
|
254 | action_state,
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_state`
warning: unused variable: `commands`
--> src/movement.rs:239:5
|
239 | commands: Commands,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
warning: unused variable: `time`
--> src/movement.rs:247:5
|
247 | time: Res<Time>,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
warning: unused variable: `velocity`
--> src/movement.rs:287:9
|
287 | velocity,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_velocity`
warning: unused variable: `commands`
--> src/movement.rs:274:5
|
274 | commands: Commands,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
warning: unused variable: `time`
--> src/movement.rs:282:5
|
282 | time: Res<Time>,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
warning: unused variable: `velocity`
--> src/movement.rs:335:40
|
335 | for (action_state, mut controller, velocity) in
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_velocity`
warning: unused variable: `aaction`
--> src/movement.rs:376:13
|
376 | for aaction in action
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aaction`
warning: constant `TargetTopSpeed` is never used
--> src/movement.rs:311:7
|
311 | const TargetTopSpeed: f32 = 300.0;
| ^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: constant `TargetTopSpeed` should have an upper case name
--> src/movement.rs:311:7
|
311 | const TargetTopSpeed: f32 = 300.0;
| ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TARGET_TOP_SPEED`
|
= note: `#[warn(non_upper_case_globals)]` on by default
warning: `platformer` (lib) generated 17 warnings
Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.56s
cargo run
warning: `platformer` (lib) generated 17 warnings
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
Running `target/debug/platformer`
2024-07-29T12:20:59.383924Z INFO log: Guessed window scale factor: 1.25
2024-07-29T12:20:59.413669Z INFO bevy_render::renderer: AdapterInfo { name: "Intel(R) Xe Graphics (TGL GT2)", vendor: 32902, device: 39497, device_type: IntegratedGpu, driver: "Intel open-source Mesa driver", driver_info: "Mesa 24.1.3-manjaro1.1", backend: Vulkan }
2024-07-29T12:20:59.538753Z INFO bevy_rapier2d::render::lines: Loaded 2d debug lines plugin.
2024-07-29T12:20:59.546765Z WARN bevy_ecs::schedule::graph_utils: bevy_asset_loader::loading_state::stageless::systems::run_loading_state<platformer::GameState> wants to be after unknown label: ProgressSystemLabel::Preparation
2024-07-29T12:20:59.551418Z INFO platformer: Current progress: Progress { done: 0, total: 0 }
thread 'main' panicked at library/core/src/panicking.rs:220:5:
unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed `isize::MAX`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
Aborted (core dumped)
The text was updated successfully, but these errors were encountered:
rustc 1.79
cargo check
cargo run
The text was updated successfully, but these errors were encountered: