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

Doesn't compile on stable 1.65 on the 1st of December 2022 #21

Closed
edgarogh opened this issue Dec 1, 2022 · 3 comments
Closed

Doesn't compile on stable 1.65 on the 1st of December 2022 #21

edgarogh opened this issue Dec 1, 2022 · 3 comments

Comments

@edgarogh
Copy link

edgarogh commented Dec 1, 2022

It seems like an issue with your version on clap.

error[E0599]: no method named `about` found for struct `Arg` in the current scope
  --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/aoc-main-0.3.0/src/lib.rs:23:18
   |
23 |                 .about("Read input from stdin instead of downloading it"),
   |                  ^^^^^ method not found in `Arg<'_>`


error[E0599]: no method named `about` found for struct `Arg` in the current scope
  --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/aoc-main-0.3.0/src/lib.rs:32:18
   |
32 |                 .about("Read input from file instead of downloading it"),
   |                  ^^^^^ method not found in `Arg<'_>`


error[E0599]: no method named `about` found for struct `Arg` in the current scope
  --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/aoc-main-0.3.0/src/lib.rs:40:18
   |
40 |                 .about("Days to execute. By default all implemented days will run"),
   |                  ^^^^^ method not found in `Arg<'_>`


error[E0599]: no method named `about` found for struct `Arg` in the current scope
  --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/aoc-main-0.3.0/src/lib.rs:46:18
   |
46 |                 .about("Run criterion benchmarks"),
   |                  ^^^^^ method not found in `Arg<'_>`
@edgarogh
Copy link
Author

edgarogh commented Dec 1, 2022

I just saw that this was fixed by afe872a, but it looks like the fixed version isn't on crates.io.

@remi-dupre
Copy link
Owner

remi-dupre commented Dec 1, 2022

Hi! Thanks for your issue and investigation.

I've just published a new version to crates.io, hopefully this fixes your issue (in the meantime clap has been updated too, that makes me confident).

@edgarogh
Copy link
Author

edgarogh commented Dec 6, 2022

Thank you for this, I didn't see your comment!

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

No branches or pull requests

2 participants