Sub-bug of #5677 On its own, `rustpkg build` should work if the current directory contains a `main.rs`, `lib.rs`, `bench.rs`, `test.rs`, or `pkg.rs` file.