@@ -386,11 +386,11 @@ fn unused() {
386386 p. cargo ( "check" )
387387 . with_stderr_data ( str![ [ r#"
388388[UPDATING] `dummy-registry` index
389- [WARNING] Patch `bar v0.2.0 ([ROOT]/foo/bar)` was not used in the crate graph.
390- Check that the patched package version and available features are compatible
391- with the dependency requirements. If the patch has a different version from
392- what is locked in the Cargo.lock file, run `cargo update` to use the new
393- version. This may also occur with an optional dependency that is not enabled.
389+ [WARNING] patch `bar v0.2.0 ([ROOT]/foo/bar)` was not used in the crate graph
390+ [HELP] Check that the patched package version and available features are compatible
391+ with the dependency requirements. If the patch has a different version from
392+ what is locked in the Cargo.lock file, run `cargo update` to use the new
393+ version. This may also occur with an optional dependency that is not enabled.
394394[LOCKING] 1 package to latest compatible version
395395[ADDING] bar v0.1.0 (available: v0.2.0)
396396[DOWNLOADING] crates ...
@@ -403,11 +403,11 @@ version. This may also occur with an optional dependency that is not enabled.
403403 . run ( ) ;
404404 p. cargo ( "check" )
405405 . with_stderr_data ( str![ [ r#"
406- [WARNING] Patch `bar v0.2.0 ([ROOT]/foo/bar)` was not used in the crate graph.
407- Check that the patched package version and available features are compatible
408- with the dependency requirements. If the patch has a different version from
409- what is locked in the Cargo.lock file, run `cargo update` to use the new
410- version. This may also occur with an optional dependency that is not enabled.
406+ [WARNING] patch `bar v0.2.0 ([ROOT]/foo/bar)` was not used in the crate graph
407+ [HELP] Check that the patched package version and available features are compatible
408+ with the dependency requirements. If the patch has a different version from
409+ what is locked in the Cargo.lock file, run `cargo update` to use the new
410+ version. This may also occur with an optional dependency that is not enabled.
411411[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
412412
413413"# ] ] )
@@ -459,15 +459,15 @@ fn unused_with_mismatch_source_being_patched() {
459459 p. cargo ( "check" )
460460 . with_stderr_data ( str![ [ r#"
461461[UPDATING] `dummy-registry` index
462- [WARNING] Patch `bar v0.2.0 ([ROOT]/foo/bar)` was not used in the crate graph.
463- Perhaps you misspelled the source URL being patched.
464- Possible URLs for `[patch.<URL>]` :
465- crates-io
466- [WARNING] Patch `bar v0.3.0 ([ROOT]/foo/baz)` was not used in the crate graph.
467- Check that the patched package version and available features are compatible
468- with the dependency requirements. If the patch has a different version from
469- what is locked in the Cargo.lock file, run `cargo update` to use the new
470- version. This may also occur with an optional dependency that is not enabled.
462+ [WARNING] patch `bar v0.2.0 ([ROOT]/foo/bar)` was not used in the crate graph
463+ |
464+ = [HELP] perhaps you meant one of the following :
465+ crates-io
466+ [WARNING] patch `bar v0.3.0 ([ROOT]/foo/baz)` was not used in the crate graph
467+ [HELP] Check that the patched package version and available features are compatible
468+ with the dependency requirements. If the patch has a different version from
469+ what is locked in the Cargo.lock file, run `cargo update` to use the new
470+ version. This may also occur with an optional dependency that is not enabled.
471471[LOCKING] 1 package to latest compatible version
472472[ADDING] bar v0.1.0 (available: v0.3.0)
473473[DOWNLOADING] crates ...
@@ -562,11 +562,11 @@ fn unused_from_config() {
562562 p. cargo ( "check" )
563563 . with_stderr_data ( str![ [ r#"
564564[UPDATING] `dummy-registry` index
565- [WARNING] Patch `bar v0.2.0 ([ROOT]/foo/bar)` was not used in the crate graph.
566- Check that the patched package version and available features are compatible
567- with the dependency requirements. If the patch has a different version from
568- what is locked in the Cargo.lock file, run `cargo update` to use the new
569- version. This may also occur with an optional dependency that is not enabled.
565+ [WARNING] patch `bar v0.2.0 ([ROOT]/foo/bar)` was not used in the crate graph
566+ [HELP] Check that the patched package version and available features are compatible
567+ with the dependency requirements. If the patch has a different version from
568+ what is locked in the Cargo.lock file, run `cargo update` to use the new
569+ version. This may also occur with an optional dependency that is not enabled.
570570[LOCKING] 1 package to latest compatible version
571571[ADDING] bar v0.1.0 (available: v0.2.0)
572572[DOWNLOADING] crates ...
@@ -579,11 +579,11 @@ version. This may also occur with an optional dependency that is not enabled.
579579 . run ( ) ;
580580 p. cargo ( "check" )
581581 . with_stderr_data ( str![ [ r#"
582- [WARNING] Patch `bar v0.2.0 ([ROOT]/foo/bar)` was not used in the crate graph.
583- Check that the patched package version and available features are compatible
584- with the dependency requirements. If the patch has a different version from
585- what is locked in the Cargo.lock file, run `cargo update` to use the new
586- version. This may also occur with an optional dependency that is not enabled.
582+ [WARNING] patch `bar v0.2.0 ([ROOT]/foo/bar)` was not used in the crate graph
583+ [HELP] Check that the patched package version and available features are compatible
584+ with the dependency requirements. If the patch has a different version from
585+ what is locked in the Cargo.lock file, run `cargo update` to use the new
586+ version. This may also occur with an optional dependency that is not enabled.
587587[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
588588
589589"# ] ] )
@@ -636,11 +636,11 @@ fn unused_git() {
636636 . with_stderr_data ( str![ [ r#"
637637[UPDATING] git repository `[ROOTURL]/override`
638638[UPDATING] `dummy-registry` index
639- [WARNING] Patch `bar v0.2.0 ([ROOTURL]/override#[..])` was not used in the crate graph.
640- Check that the patched package version and available features are compatible
641- with the dependency requirements. If the patch has a different version from
642- what is locked in the Cargo.lock file, run `cargo update` to use the new
643- version. This may also occur with an optional dependency that is not enabled.
639+ [WARNING] patch `bar v0.2.0 ([ROOTURL]/override#[..])` was not used in the crate graph
640+ [HELP] Check that the patched package version and available features are compatible
641+ with the dependency requirements. If the patch has a different version from
642+ what is locked in the Cargo.lock file, run `cargo update` to use the new
643+ version. This may also occur with an optional dependency that is not enabled.
644644[LOCKING] 1 package to latest compatible version
645645[ADDING] bar v0.1.0 (available: v0.2.0)
646646[DOWNLOADING] crates ...
@@ -653,11 +653,11 @@ version. This may also occur with an optional dependency that is not enabled.
653653 . run ( ) ;
654654 p. cargo ( "check" )
655655 . with_stderr_data ( str![ [ r#"
656- [WARNING] Patch `bar v0.2.0 ([ROOTURL]/override#[..])` was not used in the crate graph.
657- Check that the patched package version and available features are compatible
658- with the dependency requirements. If the patch has a different version from
659- what is locked in the Cargo.lock file, run `cargo update` to use the new
660- version. This may also occur with an optional dependency that is not enabled.
656+ [WARNING] patch `bar v0.2.0 ([ROOTURL]/override#[..])` was not used in the crate graph
657+ [HELP] Check that the patched package version and available features are compatible
658+ with the dependency requirements. If the patch has a different version from
659+ what is locked in the Cargo.lock file, run `cargo update` to use the new
660+ version. This may also occur with an optional dependency that is not enabled.
661661[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
662662
663663"# ] ] )
@@ -870,22 +870,22 @@ fn add_ignored_patch() {
870870
871871 p. cargo ( "check" )
872872 . with_stderr_data ( str![ [ r#"
873- [WARNING] Patch `bar v0.1.1 ([ROOT]/foo/bar)` was not used in the crate graph.
874- Check that the patched package version and available features are compatible
875- with the dependency requirements. If the patch has a different version from
876- what is locked in the Cargo.lock file, run `cargo update` to use the new
877- version. This may also occur with an optional dependency that is not enabled.
873+ [WARNING] patch `bar v0.1.1 ([ROOT]/foo/bar)` was not used in the crate graph
874+ [HELP] Check that the patched package version and available features are compatible
875+ with the dependency requirements. If the patch has a different version from
876+ what is locked in the Cargo.lock file, run `cargo update` to use the new
877+ version. This may also occur with an optional dependency that is not enabled.
878878[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
879879
880880"# ] ] )
881881 . run ( ) ;
882882 p. cargo ( "check" )
883883 . with_stderr_data ( str![ [ r#"
884- [WARNING] Patch `bar v0.1.1 ([ROOT]/foo/bar)` was not used in the crate graph.
885- Check that the patched package version and available features are compatible
886- with the dependency requirements. If the patch has a different version from
887- what is locked in the Cargo.lock file, run `cargo update` to use the new
888- version. This may also occur with an optional dependency that is not enabled.
884+ [WARNING] patch `bar v0.1.1 ([ROOT]/foo/bar)` was not used in the crate graph
885+ [HELP] Check that the patched package version and available features are compatible
886+ with the dependency requirements. If the patch has a different version from
887+ what is locked in the Cargo.lock file, run `cargo update` to use the new
888+ version. This may also occur with an optional dependency that is not enabled.
889889[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
890890
891891"# ] ] )
@@ -1884,10 +1884,10 @@ fn two_semver_compatible() {
18841884 p. cargo ( "check" ) . run ( ) ;
18851885 p. cargo ( "check" )
18861886 . with_stderr_data ( str![ [ r#"
1887- [WARNING] Patch `bar v0.1.1 ([ROOTURL]/override#[..])` was not used in the crate graph.
1888- Perhaps you misspelled the source URL being patched.
1889- Possible URLs for `[patch.<URL>]` :
1890- [ROOT]/foo/bar
1887+ [WARNING] patch `bar v0.1.1 ([ROOTURL]/override#[..])` was not used in the crate graph
1888+ |
1889+ = [HELP] perhaps you meant one of the following :
1890+ [ROOT]/foo/bar
18911891[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
18921892
18931893"# ] ] )
@@ -1940,10 +1940,10 @@ fn multipatch_select_big() {
19401940 p. cargo ( "check" ) . run ( ) ;
19411941 p. cargo ( "check" )
19421942 . with_stderr_data ( str![ [ r#"
1943- [WARNING] Patch `bar v0.1.0 ([ROOTURL]/override#[..])` was not used in the crate graph.
1944- Perhaps you misspelled the source URL being patched.
1945- Possible URLs for `[patch.<URL>]` :
1946- [ROOT]/foo/bar
1943+ [WARNING] patch `bar v0.1.0 ([ROOTURL]/override#[..])` was not used in the crate graph
1944+ |
1945+ = [HELP] perhaps you meant one of the following :
1946+ [ROOT]/foo/bar
19471947[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
19481948
19491949"# ] ] )
@@ -2064,7 +2064,7 @@ fn update_unused_new_version() {
20642064 p. cargo ( "check" )
20652065 . with_stderr_data ( str![ [ r#"
20662066[UPDATING] `dummy-registry` index
2067- [WARNING] Patch `bar v0.1.4 ([ROOT]/bar)` was not used in the crate graph.
2067+ [WARNING] patch `bar v0.1.4 ([ROOT]/bar)` was not used in the crate graph
20682068...
20692069"# ] ] )
20702070 . run ( ) ;
0 commit comments