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

With v3.0.1, getting error "an unknown tool name found in scoped lint" #16

Closed
notmandatory opened this issue Nov 30, 2021 · 1 comment · Fixed by #17
Closed

With v3.0.1, getting error "an unknown tool name found in scoped lint" #16

notmandatory opened this issue Nov 30, 2021 · 1 comment · Fixed by #17

Comments

@notmandatory
Copy link

I am using rust 1.56.1 and after doing a cargo update on my project the fd-lock version changed from v03.0.0 to v3.0.1 (as a transitive dependency). I now get the below error:

...
Compiling fd-lock v3.0.1
error[E0710]: an unknown tool name found in scoped lint: `rustdoc::missing_doc_code_examples`
  --> /home/runner/.cargo/registry/src/github.ghproxy.top-1ecc6299db9ec823/fd-lock-3.0.1/src/lib.rs:33:23
   |
33 | #![warn(missing_docs, rustdoc::missing_doc_code_examples)]
   |                       ^^^^^^^

I believe this is because rustdoc::missing_doc_code_example is only available in nightly. I worked around the issue by pinning the version of fd-lock to 3.0.0 in my project, but I believe your MSRV is stable so I shouldn't get this error.

@notmandatory notmandatory changed the title With v3.0.1, getting error "an unknown tool name found in scoped lint: rustdoc::missing_doc_code_examples" With v3.0.1, getting error "an unknown tool name found in scoped lint" Nov 30, 2021
@daxpedda daxpedda mentioned this issue Dec 8, 2021
@yoshuawuyts
Copy link
Owner

Fixed in v3.0.2. Thanks!

notmandatory added a commit to notmandatory/bdk-cli that referenced this issue Dec 9, 2021
MSRV issue with fd-lock 3.0.1 was fixed with version 3.0.2. See:
yoshuawuyts/fd-lock#16
notmandatory added a commit to notmandatory/bdk-cli that referenced this issue Dec 10, 2021
MSRV issue with fd-lock 3.0.1 was fixed with version 3.0.2. See:
yoshuawuyts/fd-lock#16
notmandatory added a commit to notmandatory/bdk-cli that referenced this issue Dec 12, 2021
MSRV issue with fd-lock 3.0.1 was fixed with version 3.0.2. See:
yoshuawuyts/fd-lock#16
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.

2 participants