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

v0.5 以降、Codeforces のコンテストで cargo compete new がエラーとなる #62

Closed
ghost opened this issue Sep 6, 2020 · 2 comments · Fixed by #63
Closed
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Sep 6, 2020

error: Package names starting with a digit cannot be used as a crate name
error: `/Users/yuta/.rustup/toolchains/1.42.0-x86_64-apple-darwin/bin/cargo new -q --vcs none --name 1397 1397` didn't exit successfully: exit code: 101

コンテスト名が数字で始まるのが原因のようです

@qryxip qryxip added the bug Something isn't working label Sep 6, 2020
@qryxip
Copy link
Owner

qryxip commented Sep 6, 2020

報告ありがとうございます。cargo newをなんとかすればいいのですが、1.43以降を考えると何らかのprefixを付けないと駄目になりますね。

rust-lang/cargo#7959

というかv0.1.0から今に至るまでyukicoder全く動いてないことになりますね。使ってないしテストも書いてないから気づきませんでした。

@qryxip
Copy link
Owner

qryxip commented Sep 6, 2020

v0.6.0をリリースしました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant