-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
C-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorS-Needs-TriageThis issue needs to be labelledThis issue needs to be labelled
Description
Bevy version
v0.7.0
Operating system & version
Manjaro w kernel=5.9.16-1-MANJARO (Shouldn't matter)
What you did
git clone https://github.com/bevyengine/bevy/
git checkout v0.7.0
mold -run cargo run --example breakout
What you expected to happen
The Breakout example to start running.
What actually happened
A missing lifetime specifier error within the internals of bevy_core:
Compiling bevy_tasks v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_tasks)
Compiling bevy_macro_utils v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_macro_utils)
Compiling bevy_derive v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_derive)
Compiling bevy_reflect_derive v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_reflect/bevy_reflect_derive)
Compiling bevy_ecs_macros v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_ecs/macros)
Compiling bevy-crevice-derive v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_crevice/bevy-crevice-derive)
Compiling bevy_utils v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_utils)
Compiling bevy_crevice v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_crevice)
Compiling bevy_reflect v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_reflect)
Compiling bevy_ecs v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_ecs)
Compiling bevy_math v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_math)
Compiling bevy_app v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_app)
Compiling bevy_core v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_core)
Compiling bevy_log v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_log)
Compiling bevy_hierarchy v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_hierarchy)
Compiling bevy_window v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_window)
Compiling bevy_input v0.7.0 (/run/media/aleok/data/programming/bevy/crates/bevy_input)
error[E0106]: missing lifetime specifier
--> crates/bevy_core/src/time/fixed_timestep.rs:122:25
|
122 | ) -> impl FnMut(Res<Time>, ResMut<FixedTimesteps>) -> ShouldRun {
| ^ expected named lifetime parameter
|
= help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments
help: consider using the `'static` lifetime
|
122 | ) -> impl FnMut(Res<'static, Time>, ResMut<FixedTimesteps>) -> ShouldRun {
| ++++++++
error[E0106]: missing lifetime specifier
--> crates/bevy_core/src/time/fixed_timestep.rs:122:39
|
122 | ) -> impl FnMut(Res<Time>, ResMut<FixedTimesteps>) -> ShouldRun {
| ^ expected named lifetime parameter
|
= help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments
help: consider using the `'static` lifetime
|
122 | ) -> impl FnMut(Res<Time>, ResMut<'static, FixedTimesteps>) -> ShouldRun {
| ++++++++
For more information about this error, try `rustc --explain E0106`.
error: could not compile `bevy_core` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
Metadata
Metadata
Assignees
Labels
C-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorS-Needs-TriageThis issue needs to be labelledThis issue needs to be labelled