fn validate_bin_crate_types( target: &TomlTarget, edition: Edition, warnings: &mut Vec<String>, errors: &mut Vec<String>, ) -> CargoResult<()>