Skip to content

stage 0 doctests fail: the -Z unstable-options flag must also be passed to enable the flag crate-version #70770

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 Apr 4, 2020 · 1 comment
Labels
A-doctests Area: Documentation tests, run by rustdoc A-testsuite Area: The testsuite used to check the correctness of rustc C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@RalfJung
Copy link
Member

RalfJung commented Apr 4, 2020

Running libstd doc tests in stage 0 worked for some time, but now it is broken again:

$ ./x.py test src/libcore --stage 0
[...]
   Doc-tests core
error: the `-Z unstable-options` flag must also be passed to enable the flag `crate-version`

error: test failed, to rerun pass '--doc'


command did not execute successfully: "/home/r/src/rust/rustc.3/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "test" "--target" "x86_64-unknown-linux-gnu" "-Zbinary-dep-depinfo" "-j" "8" "--release" "--features" "panic-unwind backtrace compiler-builtins-c" "--manifest-path" "/home/r/src/rust/rustc.3/src/libtest/Cargo.toml" "-p" "core" "--" "--quiet"
expected success, got: exit code: 1


failed to run: /home/r/src/rust/rustc.3/build/bootstrap/debug/bootstrap test src/libcore --stage 0
@jonas-schievink jonas-schievink added A-doctests Area: Documentation tests, run by rustdoc T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) A-testsuite Area: The testsuite used to check the correctness of rustc C-bug Category: This is a bug. labels Apr 4, 2020
@RalfJung
Copy link
Member Author

RalfJung commented May 4, 2020

This work snow, probably things migrated to to the bootstrap rustdoc. I suspect this can come back any time in the future when a new flag gets introduced (Cc @rust-lang/rustdoc), but for now it can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-doctests Area: Documentation tests, run by rustdoc A-testsuite Area: The testsuite used to check the correctness of rustc C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

No branches or pull requests

2 participants