cargo/tests/testsuite
bors 71de58d5cf Auto merge of #12799 - marchiore:warn_add_package_name, r=epage
feat: add package name and version to warning messages

### What does this PR try to resolve?

Hi, this PR Fixes #8018, where i add the package name and version on warning messages.
As this is my first contribution to the project, if anything is not in compliance in the PR let me know and I will be happy to correct it.
2023-10-11 19:59:57 +00:00
..
cargo fix(help): Provide better commands heading for styling 2023-08-29 15:31:17 -05:00
cargo_add Display only feature list or summarized on cargo add 2023-09-19 13:14:44 -03:00
cargo_bench refactor(cli): Manually implement missing arg error for --target 2023-08-30 20:42:45 -05:00
cargo_build refactor(cli): Manually implement missing arg error for --target 2023-08-30 20:42:45 -05:00
cargo_check refactor(cli): Manually implement missing arg error for --target 2023-08-30 20:42:45 -05:00
cargo_clean Add a --dry-run option to cargo clean. 2023-09-19 18:14:47 -07:00
cargo_config Merge higher precedence config lists later 2023-08-16 11:21:38 -05:00
cargo_doc refactor(cli): Manually implement missing arg error for --target 2023-08-30 20:42:45 -05:00
cargo_fetch refactor(cli): Manually implement missing arg error for --target 2023-08-30 20:42:45 -05:00
cargo_fix refactor(cli): Manually implement missing arg error for --target 2023-08-30 20:42:45 -05:00
cargo_generate_lockfile fix(cli): Make --help easier to browse 2023-08-08 13:50:05 -05:00
cargo_git_checkout test(cli): Track --help output 2023-07-24 17:12:20 -05:00
cargo_help fix(cli): Make --help easier to browse 2023-08-08 13:50:05 -05:00
cargo_init feat: Add Edition2024 2023-10-04 13:11:52 -06:00
cargo_install refactor(cli): Manually implement missing arg error for --target 2023-08-30 20:42:45 -05:00
cargo_locate_project fix(cli): Make --help easier to browse 2023-08-08 13:50:05 -05:00
cargo_login feat: stabilize credential-process and registry-auth 2023-09-16 22:40:45 -05:00
cargo_logout fix(cli): Make --help easier to browse 2023-08-08 13:50:05 -05:00
cargo_metadata fix(cli): Make --help easier to browse 2023-08-08 13:50:05 -05:00
cargo_new feat: Add Edition2024 2023-10-04 13:11:52 -06:00
cargo_owner refactor: extract registry and index arg for reuse 2023-09-15 18:30:28 +08:00
cargo_package refactor(cli): Manually implement missing arg error for --target 2023-08-30 20:42:45 -05:00
cargo_pkgid fix(cli): Make --help easier to browse 2023-08-08 13:50:05 -05:00
cargo_publish Auto merge of #12660 - epage:dry, r=weihanglo 2023-09-18 02:53:19 +00:00
cargo_read_manifest fix(cli): Make --help easier to browse 2023-08-08 13:50:05 -05:00
cargo_remove feat(cli): Add '-n' to dry-run 2023-09-12 13:42:00 -05:00
cargo_report fix(cli): Make --help easier to browse 2023-08-08 13:50:05 -05:00
cargo_run refactor(cli): Manually implement missing arg error for --target 2023-08-30 20:42:45 -05:00
cargo_rustc refactor(cli): Manually implement missing arg error for --target 2023-08-30 20:42:45 -05:00
cargo_rustdoc refactor(cli): Manually implement missing arg error for --target 2023-08-30 20:42:45 -05:00
cargo_search refactor: extract registry and index arg for reuse 2023-09-15 18:30:28 +08:00
cargo_test refactor(cli): Manually implement missing arg error for --target 2023-08-30 20:42:45 -05:00
cargo_tree refactor(cli): Manually implement missing arg error for --target 2023-08-30 20:42:45 -05:00
cargo_uninstall fix(cli): Make --help easier to browse 2023-08-08 13:50:05 -05:00
cargo_update feat(cli): Add '-n' to dry-run 2023-09-12 13:42:00 -05:00
cargo_vendor fix(cli): Make --help easier to browse 2023-08-08 13:50:05 -05:00
cargo_verify_project fix(cli): Make --help easier to browse 2023-08-08 13:50:05 -05:00
cargo_version fix(cli): Make --help easier to browse 2023-08-08 13:50:05 -05:00
cargo_yank refactor: extract registry and index arg for reuse 2023-09-15 18:30:28 +08:00
mock-std fix: hack around libsysroot instead of libtest 2023-05-05 14:48:37 +01:00
advanced_env.rs Enable source_config_env test on Windows 2023-01-14 09:48:46 -08:00
alt_registry.rs refactor: --registry always conflicts with --index 2023-09-15 22:33:27 +08:00
artifact_dep.rs apply suggestions 2023-08-25 01:43:29 +00:00
bad_config.rs fix(manifest): Provide more context on sematic errors 2023-08-24 16:27:53 -05:00
bad_manifest_path.rs chore: update bad_manifest_path test to use check 2023-02-15 15:28:48 -06:00
bench.rs test: move --keep-going suggestion match tests to UI tests 2023-08-22 19:21:09 +01:00
binary_name.rs refactor(testsuite): Replace [project] with [package] 2022-09-26 09:51:16 -06:00
build.rs Add unsupported short flag suggestion for --exclude flag 2023-10-11 09:41:05 +08:00
build_plan.rs refactor(testsuite): Replace [project] with [package] 2022-09-26 09:51:16 -06:00
build_script.rs feat: add package name and version to warning messages 2023-10-11 16:52:30 -03:00
build_script_env.rs feat: add package name and version to warning messages 2023-10-11 16:52:30 -03:00
build_script_extra_link_arg.rs feat: add package name and version to warning messages 2023-10-11 16:52:30 -03:00
cache_lock.rs Rewrite the cache locker to use functions instead of macros. 2023-10-08 14:16:51 -07:00
cache_messages.rs chore: update cache_messages test to use check 2023-02-20 12:20:26 -06:00
cargo_alias_config.rs fix(toml): Remove redundant error messages 2023-08-24 16:19:48 -05:00
cargo_command.rs add unit test for config and integration test with cargo --list 2023-03-09 16:54:01 -07:00
cargo_env_config.rs Disallow RUSTUP_TOOLCHAIN in the [env] table. 2023-05-08 09:30:59 -07:00
cargo_features.rs fix(manifest): Provide more context on sematic errors 2023-08-24 16:27:53 -05:00
cargo_targets.rs Warn if an "all" target is specified, but we don't match anything 2021-06-09 19:29:24 +02:00
cfg.rs chore: update cfg tests to use check 2023-02-20 12:20:26 -06:00
check.rs Stabilize --keep-going 2023-08-26 13:14:39 -07:00
check_cfg.rs chore: update check_cfg tests to use check 2023-02-20 12:20:26 -06:00
clean.rs Don't display paths with cargo clean --dry-run without --verbose 2023-09-19 18:24:45 -07:00
collisions.rs Fix collision_doc_profile test error 2022-12-15 20:04:50 -08:00
concurrent.rs Re-enable killing_cargo_releases_the_lock on windows. 2022-08-02 12:30:42 -07:00
config.rs Add ConfigBuilder::root 2023-10-08 14:16:51 -07:00
config_cli.rs Merge higher precedence config lists later 2023-08-16 11:21:38 -05:00
config_include.rs test(config-include): assert config merged in DFS 2023-06-21 20:18:09 +01:00
corrupt_git.rs chore: update corrupt_git tests to use check 2023-02-20 12:20:46 -06:00
credential_process.rs chore: Fix typos 2023-09-19 15:28:48 -05:00
cross_compile.rs refactor: only when -C debuginfo > 0 will spilt-debuginfo be passed 2023-05-31 20:43:57 +01:00
cross_publish.rs Reword published/completed to uploaded/published 2023-03-15 08:15:00 -07:00
custom_target.rs Disable custom_target::custom_bin_target on windows-gnu 2023-10-01 19:14:46 -07:00
death.rs bug: corruption when killed while writing 2023-10-01 08:29:24 -04:00
dep_info.rs chore: update dep_info tests to use check 2023-02-20 12:21:15 -06:00
direct_minimal_versions.rs feat(resolver): -Zdirect-minimal-versions 2023-02-14 15:44:30 -06:00
directory.rs Add additional info on a new line 2023-06-05 11:27:31 +02:00
doc.rs rustdoc: remove the word "Version" from test cases 2023-10-10 11:19:57 -07:00
docscrape.rs fix(docscrape): must fail with bad build script 2023-02-09 20:32:24 +00:00
edition.rs chore: update edition tests to use check 2023-02-20 12:21:15 -06:00
error.rs Rework internal errors. 2020-02-17 19:03:57 -08:00
features.rs Convert valid feature name warning to an error. 2023-06-20 12:39:27 -07:00
features2.rs feat: add package name and version to warning messages 2023-10-11 16:52:30 -03:00
features_namespaced.rs Fix dep/feat syntax with hidden implicit optional dependencies 2023-05-11 09:34:38 -07:00
fetch.rs Normalize raw string indentation. 2020-09-26 17:59:58 -07:00
fix.rs Add rustc_shim_for_cargo_fix and wrapped_clippy_driver to reuse code 2023-04-14 11:23:41 +08:00
freshness.rs chore: Fix typos 2023-09-19 15:28:48 -05:00
future_incompat_report.rs fix(update): Make -p more convenient by being positional 2023-08-23 11:57:36 -05:00
generate_lockfile.rs Improve error for missing crate in --offline mode for sparse index 2023-03-01 14:45:09 -06:00
git.rs generalise suggestion on abiguous spec 2023-09-18 16:34:17 +01:00
git_auth.rs Add delays to network retries. 2023-03-31 14:04:48 -07:00
git_gc.rs add -Zgitoxide=fetch feature toggle and implementation. 2023-03-02 12:35:50 +01:00
git_shallow.rs Move helper functions to the bottom for consistency; fix name 2023-05-02 18:57:42 +02:00
glob_targets.rs fix typos found by the typos-cli crate 2022-05-10 16:47:28 -05:00
help.rs fix panic if an alias is defined to "" 2021-12-12 13:30:31 -07:00
https.rs Fix self_signed_should_fail for macOS. 2023-05-06 12:41:34 -07:00
inheritable_workspace_fields.rs fix(manifest): Provide more context on sematic errors 2023-08-24 16:27:53 -05:00
install.rs fix(install): Suggest an alternative version on MSRV failure 2023-10-09 20:22:54 -05:00
install_upgrade.rs fix(pkgid): More consistently refer to SemVer 2023-08-29 10:49:09 -05:00
jobserver.rs chore: bump jobserver to respect --jobserver-auth=fifo:PATH' 2023-02-28 16:08:12 +00:00
lints.rs feat: Stabilize lints 2023-09-08 10:44:00 -05:00
list_availables.rs fix(cli): Be more specific in what is needed 2023-08-31 08:56:16 -05:00
local_registry.rs chore: update local_registry tests to use check 2023-02-20 12:21:27 -06:00
locate_project.rs Remove the double-backslash escape for matching. 2021-06-16 09:44:29 -07:00
lockfile_compat.rs Auto merge of #12280 - weihanglo:git-ref-ambiguity, r=ehuss 2023-07-23 19:01:50 +00:00
login.rs feat: stabilize credential-process and registry-auth 2023-09-16 22:40:45 -05:00
logout.rs Auto merge of #12588 - arlosi:logout-is-stable, r=weihanglo 2023-08-29 18:17:10 +00:00
lto.rs Ues strip_prefix for cleaner code 2023-09-07 17:57:28 +00:00
main.rs Add a new package cache locking system. 2023-10-08 14:16:51 -07:00
member_discovery.rs refactor(testsuite): Replace [project] with [package] 2022-09-26 09:51:16 -06:00
member_errors.rs refactor(testsuite): Replace [project] with [package] 2022-09-26 09:51:16 -06:00
message_format.rs chore: update message_format tests to use check 2023-02-20 12:21:27 -06:00
messages.rs Fixing issue https://github.com/rust-lang/cargo/issues/10834: 2023-03-07 06:45:26 +01:00
metabuild.rs chore: update metabuild tests to use check 2023-02-20 12:21:27 -06:00
metadata.rs fix(manifest): Provide more context on sematic errors 2023-08-24 16:27:53 -05:00
minimal_versions.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
multitarget.rs Update tests to reflect -Zmultitarget stabilization 2022-07-17 11:02:01 +01:00
net_config.rs chore: update net_config tests to use check 2023-02-20 12:21:27 -06:00
new.rs fix(new): Don't ignore Cargo.lock for all package types 2023-07-19 11:56:40 -05:00
offline.rs fix(update): Make -p more convenient by being positional 2023-08-23 11:57:36 -05:00
old_cargos.rs Add reasons to all ignored tests. 2022-08-02 12:24:00 -07:00
out_dir.rs Add unsupported short suggestion for --out-dir flag 2023-10-04 13:15:09 +08:00
owner.rs Create dedicated unstable flag for asymmetric-token 2023-08-24 00:12:50 -05:00
package.rs feat: Add Edition2024 2023-10-04 13:11:52 -06:00
package_features.rs chore: update package_features tests to use check 2023-02-20 12:21:27 -06:00
patch.rs move pre-release specific error message 2023-09-12 16:06:29 +00:00
path.rs chore: update path tests to use check 2023-02-20 12:21:27 -06:00
paths.rs chore: update paths tests to use check 2023-02-20 12:21:27 -06:00
pkgid.rs generalise suggestion on abiguous spec 2023-09-18 16:34:17 +01:00
plugins.rs test: revive nightly plugin tests to work 2023-01-04 13:45:25 +00:00
proc_macro.rs chore: update proc_macro tests to use check 2023-02-20 12:21:35 -06:00
profile_config.rs chore: Fix typos 2023-09-19 15:28:48 -05:00
profile_custom.rs Separately track files and directories removed. 2023-09-19 18:24:37 -07:00
profile_overrides.rs feat(spec): Allow partial versions when unambigious 2023-09-13 22:00:00 -06:00
profile_targets.rs Print environment variables for cargo test in extra verbose mode 2023-08-16 13:41:54 +02:00
profiles.rs test: new options of debuginfo are no longer unstable 2023-09-01 16:19:47 +01:00
progress.rs chore: update progress tests to use check 2023-02-20 12:22:24 -06:00
pub_priv.rs chore: update pub_priv tests to use check 2023-02-20 12:22:24 -06:00
publish.rs Fix spurious errors with networking tests. 2023-09-22 13:37:26 -07:00
publish_lockfile.rs make test clearer 2022-12-19 10:50:55 -07:00
read_manifest.rs Add rust_metadata to SerializedPackage 2021-10-12 14:07:19 +02:00
registry.rs move pre-release specific error message 2023-09-12 16:06:29 +00:00
registry_auth.rs feat: stabilize credential-process and registry-auth 2023-09-16 22:40:45 -05:00
rename_deps.rs refactor(testsuite): Replace [project] with [package] 2022-09-26 09:51:16 -06:00
replace.rs fix(update): Make -p more convenient by being positional 2023-08-23 11:57:36 -05:00
required_features.rs Add additional info on a new line 2023-06-05 11:27:31 +02:00
run.rs Fix test on windows 2023-09-28 10:10:19 +08:00
rust_version.rs fix(manifest): Improve error on good pre-release 2023-08-30 16:42:08 -05:00
rustc.rs refactor: only when -C debuginfo > 0 will spilt-debuginfo be passed 2023-05-31 20:43:57 +01:00
rustc_info_cache.rs Don't re-use rustc cache when RUSTC_WRAPPER changes 2021-04-16 20:08:11 +03:00
rustdoc.rs Update rustdoc tests with -Cmetadata flag 2021-10-12 19:33:23 -07:00
rustdoc_extern_html.rs Make sparse the default protocol for crates.io 2023-03-02 10:50:22 -06:00
rustdocflags.rs rustdoc: remove the word "Version" from test cases 2023-10-10 11:19:57 -07:00
rustflags.rs chore: update rustflags tests to use check 2023-02-20 12:22:29 -06:00
rustup.rs Add an optimization when running under rustup. 2023-05-03 13:45:54 -07:00
script.rs Auto merge of #12681 - epage:frontmatter, r=Muscraft 2023-09-26 15:35:38 +00:00
search.rs Add a new package cache locking system. 2023-10-08 14:16:51 -07:00
shell_quoting.rs refactor(testsuite): Replace [project] with [package] 2022-09-26 09:51:16 -06:00
source_replacement.rs Auto merge of #12732 - tompscanlan:12576-registry-error-msg, r=epage 2023-09-25 17:41:03 +00:00
ssh.rs add a missing is: 2023-09-08 15:14:10 -04:00
standard_lib.rs Add requirements to cargo_test. 2022-07-30 19:36:58 -07:00
test.rs test: move --keep-going suggestion match tests to UI tests 2023-08-22 19:21:09 +01:00
timings.rs Move timing reports to target/cargo-timings 2022-01-30 21:43:52 -08:00
tool_paths.rs Add some tests 2023-08-28 09:29:17 +08:00
tree.rs generalise suggestion on abiguous spec 2023-09-18 16:34:17 +01:00
tree_graph_features.rs Do not ignore --features when --all-features is present 2022-01-28 02:49:42 +03:00
unit_graph.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
update.rs Do not call it "Downgrading" when difference is only build metadata 2023-10-09 13:53:47 -07:00
vendor.rs fix: respect umask when unpacking .crate files 2023-08-03 13:41:08 +01:00
verify_project.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
version.rs Re-enable version_works_without_rustc on windows. 2022-08-02 12:54:16 -07:00
warn_on_failure.rs feat: add package name and version to warning messages 2023-10-11 16:52:30 -03:00
weak_dep_features.rs Include rust-version in publish request 2023-04-26 11:59:29 -07:00
workspaces.rs fix(toml): Remove redundant error messages 2023-08-24 16:19:48 -05:00
yank.rs Create dedicated unstable flag for asymmetric-token 2023-08-24 00:12:50 -05:00