Skip to content

"mdbook test" stopped working with 0.1.8 #724

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

Closed
RalfJung opened this issue Jul 16, 2018 · 5 comments
Closed

"mdbook test" stopped working with 0.1.8 #724

RalfJung opened this issue Jul 16, 2018 · 5 comments

Comments

@RalfJung
Copy link
Member

RalfJung commented Jul 16, 2018

The update from 0.1.7 to 0.1.8 broke mdbook test in the nomicon. It now fails with

2018-07-16 14:41:02 [ERROR] (mdbook::utils): Error: Unable to open the file
2018-07-16 14:41:02 [ERROR] (mdbook::utils): 	Caused By: No such file or directory (os error 2)

I am not sure which file it is even trying to open (the error is not very helpful), but strace indicates it is some index.md:

stat("/home/r/src/rust/nomicon/src/index.md", 0x7fff52e9e770) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/r/src/rust/nomicon/src/index.md", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

The nomicon works fine with mdbook 0.1.7 (well, there is a test failure but we are getting much further than the error it shows with 0.1.8). Also see rust-lang/nomicon#78.

I believe this is a bug in mdbook because the update claims to be semver-compatible but, as this example shows, it is not.

@RalfJung
Copy link
Member Author

Thanks. :)

Would you mind giving a heads-up when a new release is made with this? Then I can update the nomicon to no longer pin an older version.

@mattico
Copy link
Contributor

mattico commented Jul 25, 2018

Sure thing! I'll make a new release as soon as I get crates.io permissions.

@Michael-F-Bryan
Copy link
Contributor

@mattico I just did the cargo owner --add thing, so you should receive some sort of ownership invitation from crates.io soon.

@mattico
Copy link
Contributor

mattico commented Jul 26, 2018

Thanks @Michael-F-Bryan!

@RalfJung 0.1.9 is on crates.io, and binaries should be available soon.

@RalfJung
Copy link
Member Author

Thanks! I updated the nomicon.

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

3 participants