-
-
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
cargo crate 0.6.0
Operating system & version
Win10 with WSL2 debian 11
What you did
tried to compile a blank hello world program with bevy with a nightly compiler
What you expected to happen
proper compilation
What actually happened
This error
error: format argument must be a string literal
--> /home/blucky/.config/cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/bevy_ecs-0.6.0/src/schedule/executor_parallel.rs:135:66
|
135 | ... .unwrap_or_else(|error| unreachable!(error));
| ^^^^^
|
help: you might be missing a string literal to format with
|
135 | .unwrap_or_else(|error| unreachable!("{}", error));
| +++++
error: format argument must be a string literal
--> /home/blucky/.config/cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/bevy_ecs-0.6.0/src/schedule/executor_parallel.rs:211:62
|
211 | .unwrap_or_else(|error| unreachable!(error));
| ^^^^^
|
help: you might be missing a string literal to format with
|
211 | .unwrap_or_else(|error| unreachable!("{}", error));
| +++++
error: format argument must be a string literal
--> /home/blucky/.config/cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/bevy_ecs-0.6.0/src/schedule/executor_parallel.rs:220:62
|
220 | .unwrap_or_else(|error| unreachable!(error));
| ^^^^^
|
help: you might be missing a string literal to format with
|
220 | .unwrap_or_else(|error| unreachable!("{}", error));
| +++++
error: format argument must be a string literal
--> /home/blucky/.config/cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/bevy_ecs-0.6.0/src/schedule/executor_parallel.rs:271:58
|
271 | .unwrap_or_else(|error| unreachable!(error));
| ^^^^^
|
help: you might be missing a string literal to format with
|
271 | .unwrap_or_else(|error| unreachable!("{}", error));
| +++++
error: could not compile `bevy_ecs` due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed
Additional information
Everything runs fine on the stable compiler, but not on nightly
Toolchain versions:
❯ cargo --version
cargo 1.60.0-nightly (c082648 2022-02-08)
❯ cargo +stable --version
cargo 1.56.0 (4ed5d137b 2021-10-04)
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