@@ -862,7 +862,7 @@ fn relying_on_a_yank_is_bad_http() {
862862 let _server = setup_http ( ) ;
863863 relying_on_a_yank_is_bad ( str![ [ r#"
864864[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"`
866866 version 0.0.2 is yanked
867867location searched: `dummy-registry` index (which is replacing registry `crates-io`)
868868required by package `bar v0.0.1`
@@ -875,7 +875,7 @@ required by package `bar v0.0.1`
875875fn relying_on_a_yank_is_bad_git ( ) {
876876 relying_on_a_yank_is_bad ( str![ [ r#"
877877[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"`
879879 version 0.0.2 is yanked
880880location searched: `dummy-registry` index (which is replacing registry `crates-io`)
881881required by package `bar v0.0.1`
@@ -922,7 +922,7 @@ fn yanks_in_lockfiles_are_ok_http() {
922922"# ] ] ,
923923 str![ [ r#"
924924[UPDATING] `dummy-registry` index
925- [ERROR] no matching versions for `bar` found
925+ [ERROR] failed to select a version for the requirement `bar = "*"`
926926 version 0.0.1 is yanked
927927location searched: `dummy-registry` index (which is replacing registry `crates-io`)
928928required by package `foo v0.0.1 ([ROOT]/foo)`
@@ -940,7 +940,7 @@ fn yanks_in_lockfiles_are_ok_git() {
940940"# ] ] ,
941941 str![ [ r#"
942942[UPDATING] `dummy-registry` index
943- [ERROR] no matching versions for `bar` found
943+ [ERROR] failed to select a version for the requirement `bar = "*"`
944944 version 0.0.1 is yanked
945945location searched: `dummy-registry` index (which is replacing registry `crates-io`)
946946required by package `foo v0.0.1 ([ROOT]/foo)`
@@ -993,7 +993,7 @@ fn yanks_in_lockfiles_are_ok_for_other_update_http() {
993993"# ] ] ,
994994 str![ [ r#"
995995[UPDATING] `dummy-registry` index
996- [ERROR] no matching versions for `bar` found
996+ [ERROR] failed to select a version for the requirement `bar = "*"`
997997 version 0.0.1 is yanked
998998location searched: `dummy-registry` index (which is replacing registry `crates-io`)
999999required by package `foo v0.0.1 ([ROOT]/foo)`
@@ -1017,7 +1017,7 @@ fn yanks_in_lockfiles_are_ok_for_other_update_git() {
10171017"# ] ] ,
10181018 str![ [ r#"
10191019[UPDATING] `dummy-registry` index
1020- [ERROR] no matching versions for `bar` found
1020+ [ERROR] failed to select a version for the requirement `bar = "*"`
10211021 version 0.0.1 is yanked
10221022location searched: `dummy-registry` index (which is replacing registry `crates-io`)
10231023required by package `foo v0.0.1 ([ROOT]/foo)`
@@ -3228,7 +3228,7 @@ fn unknown_index_version_error() {
32283228 . with_status ( 101 )
32293229 . with_stderr_data ( str![ [ r#"
32303230[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"`
32323232 version 1.0.1 requires a Cargo version that supports index version 4294967295
32333233location searched: `dummy-registry` index (which is replacing registry `crates-io`)
32343234required by package `foo v0.1.0 ([ROOT]/foo)`
@@ -3266,7 +3266,7 @@ fn unknown_index_version_with_msrv_error() {
32663266 . with_status ( 101 )
32673267 . with_stderr_data ( str![ [ r#"
32683268[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"`
32703270 version 1.0.1 requires cargo 1.2345
32713271location searched: `dummy-registry` index (which is replacing registry `crates-io`)
32723272required by package `foo v0.1.0 ([ROOT]/foo)`
0 commit comments