Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bevy fails to compile on nightly #3942

Closed
BLucky-gh opened this issue Feb 14, 2022 · 1 comment
Closed

Bevy fails to compile on nightly #3942

BLucky-gh opened this issue Feb 14, 2022 · 1 comment
Labels
C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled

Comments

@BLucky-gh
Copy link

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/github.com-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/github.com-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/github.com-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/github.com-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)
@BLucky-gh BLucky-gh added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Feb 14, 2022
@bjorn3
Copy link
Contributor

bjorn3 commented Feb 14, 2022

This has been fixed in #3889 which will likely end up in a bevy 0.6.1 release soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled
Projects
None yet
Development

No branches or pull requests

2 participants