cognitive-engineering-lab / rust-book

The Rust Programming Language: Experimental Edition
https://rust-book.cs.brown.edu
Other
509 stars 83 forks source link

mdbook build failed due to the "aquascope" preprocessor failure #43

Open drowzju opened 1 year ago

drowzju commented 1 year ago

When I run mdbook build I met this information: PS D:\code\rustworks\rustbook> mdbook build 2023-03-11 14:11:16 [INFO] (mdbook::book): Book building has started Warning: The aquascope plugin was built against version 0.4.28 of mdbook, but we're being called from version 0.4.25 Command failed 2023-03-11 14:11:16 [ERROR] (mdbook::utils): Error: The "aquascope" preprocessor exited unsuccessfully with exit code: 1 status

The vers: PS D:\code\rustworks\rustbook> mdbook -V mdbook v0.4.25 PS D:\code\rustworks\rustbook> mdbook-aquascope -V mdbook-preprocessor-utils 0.1.4

Pls fix it, or let me know how to debug it. Thanks and BRs!

willcrichton commented 1 year ago

You'll need to follow the same installation process we use in CI.

https://github.com/cognitive-engineering-lab/rust-book/blob/d2af51055890d1d3611d3714f9b5a6a087f75dfe/.github/workflows/main.yml#L53-L57