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

Getting Started Error #1621

Open
JimLynchCodes opened this issue Aug 28, 2024 · 3 comments
Open

Getting Started Error #1621

JimLynchCodes opened this issue Aug 28, 2024 · 3 comments
Labels
A-Quick-Start About the Quick Start Guide S-Needs-Investigation We need to figure out what's going wrong

Comments

@JimLynchCodes
Copy link

JimLynchCodes commented Aug 28, 2024

I just tried following the getting started guide, but it doesn't work for me... 😢

step 1) clone bevy:

git clone https://github.com/bevyengine/bevy

step 2) inside of bevy directory, checkout latest

git checkout latest

step 3) run example

cargo run --example breakout

I then see this error message:

error: failed to load manifest for workspace member `/Users/jim/bevy/tools/ci`

Caused by:
  failed to parse manifest at `/Users/jim/bevy/tools/ci/Cargo.toml`

Caused by:
  missing field `version`
  in `package`

I think the getting started guide is missing some information to get this working... or am I just following it wrong?

@rparrett
Copy link
Contributor

rparrett commented Aug 28, 2024

It looks like you might be using a version of Rust older than 1.75.0.

The minimum supported version is mentioned outside of the quick start guide, but maybe it might be worth a more explicit mention in the quick start guide. The quick start just mentions "a working Rust setup."

Bevy relies heavily on improvements in the Rust language and compiler. As a result, the Minimum Supported Rust Version (MSRV) is "the latest stable release" of Rust.

@TrialDragon TrialDragon added S-Needs-Investigation We need to figure out what's going wrong A-Quick-Start About the Quick Start Guide labels Aug 28, 2024
@JimLynchCodes
Copy link
Author

Thanks @rparrett 👍

I would say the error message could be improved also. It seems to be trying to tell me that my project's Cargo.toml is missing a version, not that my cargo version is out of date... 🤔

@rparrett
Copy link
Contributor

The error message could potentially be improved by adding rust-version to Bevy, but this has been dismissed as impractical. See bevyengine/bevy#288. It would be too onerous to ensure that whatever value we put there is the actual minimum required version at any given time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Quick-Start About the Quick Start Guide S-Needs-Investigation We need to figure out what's going wrong
Projects
None yet
Development

No branches or pull requests

3 participants