rust-book-fa icon indicating copy to clipboard operation
rust-book-fa copied to clipboard

have error to build book

Open thmkhtry opened this issue 1 year ago • 0 comments

  • [x] I have checked the latest main branch to see if this has already been fixed
  • [ ] I have searched existing issues and pull requests for duplicates

URL to the section(s) of the book with this problem:

Description of the problem: Hi. I have error to install mdbook v0.4.37 for rust fa book and in guess this book have bug.

error: failed to compile `mdbook v0.4.37`, intermediate artifacts can be found at `/tmp/cargo-installBXPHGc`

Caused by:
  failed to select a version for `env_logger`.
      ... required by package `mdbook v0.4.37`
  versions that meet the requirements `^0.11.1` are: 0.11.3, 0.11.2, 0.11.1

  the package `mdbook` depends on `env_logger`, with features: `anstream` but `env_logger` does not have these features.
   It has an optional dependency with that name, but but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.


  failed to select a version for `env_logger` which could resolve this conflict

please help me.

Suggested fix:

thmkhtry avatar May 20 '24 19:05 thmkhtry