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

some crates requires edition2021 #1

Open
masaki925 opened this issue Jun 6, 2022 · 0 comments · May be fixed by #2
Open

some crates requires edition2021 #1

masaki925 opened this issue Jun 6, 2022 · 0 comments · May be fixed by #2

Comments

@masaki925
Copy link

when i run docker build -t masked-lm-image ., got error:

#29 2.935   Downloaded enum-ordinalize v3.1.11
#29 2.935 error: failed to parse manifest at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/enum-ordinalize-3.1.11/Cargo.toml`
#29 2.935
#29 2.935 Caused by:
#29 2.935   feature `edition2021` is required
#29 2.935
#29 2.935   this Cargo does not support nightly features, but if you
#29 2.935   switch to nightly channel you can add
#29 2.935   `cargo-features = ["edition2021"]` to enable this feature

this is because some dependent crates requires edition2021, eg:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant