``` rust #[test] pub fn foo() { fail!() } ``` ``` $ cargo test Compiling example v0.0.0 (...) Running ../target/test/example-8be7945be85d60d6 running 1 test test foo ... FAILED failures: ---- foo stdout ---- task 'foo' failed at 'explicit failure', .../src/lib.rs:5 failures: foo test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured task '<main>' failed at 'Some tests failed', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libtest/lib.rs:242 Could not execute process `.../target/test/example-8be7945be85d60d6` (status=101) ``` The last line is not true/relevant for `cargo test`. (cc https://github.com/rust-lang/cargo/issues/173)