Our mdbook workflow in https://github.com/scylladb/scylla-rust-driver suddenly started failing.
The failing command was:
mdbook test -L target/debug/deps docs
It started complaining that it can't find SUMMARY.md in the directory <repository>/src
The book is in the directory <repository>/docs and that's why we pass the docs argument to guide it to the right place.
Swapping the order of the arguments fixes the problem:
mdbook test docs -L target/debug/deps
This looks like a bug in argument parsing.
Refs: scylladb/scylla-rust-driver#616