running 1 test test $DIR/failed-doctest-test-crate.rs - m (line 14) ... FAILED failures: ---- $DIR/failed-doctest-test-crate.rs - m (line 14) stdout ---- error[E0432]: unresolved import `test` --> $DIR/failed-doctest-test-crate.rs:15:5 | LL | use test::*; | ^^^^ you might be missing crate `test` | help: consider importing the `test` crate | LL + extern crate test; | error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0432`. Couldn't compile the test. failures: $DIR/failed-doctest-test-crate.rs - m (line 14) test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME