fn check_name( name: &str, show_name_help: bool, has_bin: bool, shell: &mut Shell) -> CargoResult<()>