@@ -862,7 +862,7 @@ fn relying_on_a_yank_is_bad_http() {
862
862
let _server = setup_http ( ) ;
863
863
relying_on_a_yank_is_bad ( str![ [ r#"
864
864
[UPDATING] `dummy-registry` index
865
- [ERROR] no matching versions for `baz` found
865
+ [ERROR] failed to select a version for the requirement `baz = "=0.0.2"`
866
866
version 0.0.2 is yanked
867
867
location searched: `dummy-registry` index (which is replacing registry `crates-io`)
868
868
required by package `bar v0.0.1`
@@ -875,7 +875,7 @@ required by package `bar v0.0.1`
875
875
fn relying_on_a_yank_is_bad_git ( ) {
876
876
relying_on_a_yank_is_bad ( str![ [ r#"
877
877
[UPDATING] `dummy-registry` index
878
- [ERROR] no matching versions for `baz` found
878
+ [ERROR] failed to select a version for the requirement `baz = "=0.0.2"`
879
879
version 0.0.2 is yanked
880
880
location searched: `dummy-registry` index (which is replacing registry `crates-io`)
881
881
required by package `bar v0.0.1`
@@ -922,7 +922,7 @@ fn yanks_in_lockfiles_are_ok_http() {
922
922
"# ] ] ,
923
923
str![ [ r#"
924
924
[UPDATING] `dummy-registry` index
925
- [ERROR] no matching versions for `bar` found
925
+ [ERROR] failed to select a version for the requirement `bar = "*"`
926
926
version 0.0.1 is yanked
927
927
location searched: `dummy-registry` index (which is replacing registry `crates-io`)
928
928
required by package `foo v0.0.1 ([ROOT]/foo)`
@@ -940,7 +940,7 @@ fn yanks_in_lockfiles_are_ok_git() {
940
940
"# ] ] ,
941
941
str![ [ r#"
942
942
[UPDATING] `dummy-registry` index
943
- [ERROR] no matching versions for `bar` found
943
+ [ERROR] failed to select a version for the requirement `bar = "*"`
944
944
version 0.0.1 is yanked
945
945
location searched: `dummy-registry` index (which is replacing registry `crates-io`)
946
946
required by package `foo v0.0.1 ([ROOT]/foo)`
@@ -993,7 +993,7 @@ fn yanks_in_lockfiles_are_ok_for_other_update_http() {
993
993
"# ] ] ,
994
994
str![ [ r#"
995
995
[UPDATING] `dummy-registry` index
996
- [ERROR] no matching versions for `bar` found
996
+ [ERROR] failed to select a version for the requirement `bar = "*"`
997
997
version 0.0.1 is yanked
998
998
location searched: `dummy-registry` index (which is replacing registry `crates-io`)
999
999
required by package `foo v0.0.1 ([ROOT]/foo)`
@@ -1017,7 +1017,7 @@ fn yanks_in_lockfiles_are_ok_for_other_update_git() {
1017
1017
"# ] ] ,
1018
1018
str![ [ r#"
1019
1019
[UPDATING] `dummy-registry` index
1020
- [ERROR] no matching versions for `bar` found
1020
+ [ERROR] failed to select a version for the requirement `bar = "*"`
1021
1021
version 0.0.1 is yanked
1022
1022
location searched: `dummy-registry` index (which is replacing registry `crates-io`)
1023
1023
required by package `foo v0.0.1 ([ROOT]/foo)`
@@ -3228,7 +3228,7 @@ fn unknown_index_version_error() {
3228
3228
. with_status ( 101 )
3229
3229
. with_stderr_data ( str![ [ r#"
3230
3230
[UPDATING] `dummy-registry` index
3231
- [ERROR] no matching versions for `bar` found
3231
+ [ERROR] failed to select a version for the requirement `bar = "^1.0"`
3232
3232
version 1.0.1 requires a Cargo version that supports index version 4294967295
3233
3233
location searched: `dummy-registry` index (which is replacing registry `crates-io`)
3234
3234
required by package `foo v0.1.0 ([ROOT]/foo)`
@@ -3266,7 +3266,7 @@ fn unknown_index_version_with_msrv_error() {
3266
3266
. with_status ( 101 )
3267
3267
. with_stderr_data ( str![ [ r#"
3268
3268
[UPDATING] `dummy-registry` index
3269
- [ERROR] no matching versions for `bar` found
3269
+ [ERROR] failed to select a version for the requirement `bar = "^1.0"`
3270
3270
version 1.0.1 requires cargo 1.2345
3271
3271
location searched: `dummy-registry` index (which is replacing registry `crates-io`)
3272
3272
required by package `foo v0.1.0 ([ROOT]/foo)`
0 commit comments