@@ -1278,8 +1278,8 @@ fn cargo_compile_with_dep_name_mismatch() {
1278
1278
. with_status ( 101 )
1279
1279
. with_stderr_data ( str![ [ r#"
1280
1280
[ERROR] no matching package named `notquitebar` found
1281
- location searched: [ROOT]/foo/bar
1282
- required by package `foo v0.0.1 ([ROOT]/foo)`
1281
+ location searched: [ROOT]/foo/bar
1282
+ required by package `foo v0.0.1 ([ROOT]/foo)`
1283
1283
1284
1284
"# ] ] )
1285
1285
. run ( ) ;
@@ -1335,8 +1335,8 @@ fn cargo_compile_with_filename() {
1335
1335
. with_status ( 101 )
1336
1336
. with_stderr_data ( str![ [ r#"
1337
1337
[ERROR] no bin target named `bin.rs` in default-run packages
1338
- [HELP] available bin targets:
1339
- a
1338
+ [HELP] available bin targets:
1339
+ a
1340
1340
1341
1341
"# ] ] )
1342
1342
. run ( ) ;
@@ -1345,8 +1345,8 @@ fn cargo_compile_with_filename() {
1345
1345
. with_status ( 101 )
1346
1346
. with_stderr_data ( str![ [ r#"
1347
1347
[ERROR] no bin target named `a.rs` in default-run packages
1348
-
1349
- [HELP] a target with a similar name exists: `a`
1348
+
1349
+ [HELP] a target with a similar name exists: `a`
1350
1350
1351
1351
"# ] ] )
1352
1352
. run ( ) ;
@@ -1355,8 +1355,8 @@ fn cargo_compile_with_filename() {
1355
1355
. with_status ( 101 )
1356
1356
. with_stderr_data ( str![ [ r#"
1357
1357
[ERROR] no example target named `example.rs` in default-run packages
1358
- [HELP] available example targets:
1359
- a
1358
+ [HELP] available example targets:
1359
+ a
1360
1360
1361
1361
"# ] ] )
1362
1362
. run ( ) ;
@@ -1365,8 +1365,8 @@ fn cargo_compile_with_filename() {
1365
1365
. with_status ( 101 )
1366
1366
. with_stderr_data ( str![ [ r#"
1367
1367
[ERROR] no example target named `a.rs` in default-run packages
1368
-
1369
- [HELP] a target with a similar name exists: `a`
1368
+
1369
+ [HELP] a target with a similar name exists: `a`
1370
1370
1371
1371
"# ] ] )
1372
1372
. run ( ) ;
@@ -1408,17 +1408,17 @@ fn incompatible_dependencies() {
1408
1408
. with_stderr_data ( str![ [ r#"
1409
1409
[UPDATING] `dummy-registry` index
1410
1410
[ERROR] failed to select a version for `bad`.
1411
- ... required by package `qux v0.1.0`
1412
- ... which satisfies dependency `qux = "^0.1.0"` of package `foo v0.0.1 ([ROOT]/foo)`
1413
- versions that meet the requirements `>=1.0.1` are: 1.0.2, 1.0.1
1414
-
1415
- all possible versions conflict with previously selected packages.
1416
-
1417
- previously selected package `bad v1.0.0`
1418
- ... which satisfies dependency `bad = "=1.0.0"` of package `baz v0.1.0`
1419
- ... which satisfies dependency `baz = "^0.1.0"` of package `foo v0.0.1 ([ROOT]/foo)`
1420
-
1421
- failed to select a version for `bad` which could resolve this conflict
1411
+ ... required by package `qux v0.1.0`
1412
+ ... which satisfies dependency `qux = "^0.1.0"` of package `foo v0.0.1 ([ROOT]/foo)`
1413
+ versions that meet the requirements `>=1.0.1` are: 1.0.2, 1.0.1
1414
+
1415
+ all possible versions conflict with previously selected packages.
1416
+
1417
+ previously selected package `bad v1.0.0`
1418
+ ... which satisfies dependency `bad = "=1.0.0"` of package `baz v0.1.0`
1419
+ ... which satisfies dependency `baz = "^0.1.0"` of package `foo v0.0.1 ([ROOT]/foo)`
1420
+
1421
+ failed to select a version for `bad` which could resolve this conflict
1422
1422
1423
1423
"# ] ] )
1424
1424
. run ( ) ;
@@ -1456,20 +1456,20 @@ fn incompatible_dependencies_with_multi_semver() {
1456
1456
. with_stderr_data ( str![ [ r#"
1457
1457
[UPDATING] `dummy-registry` index
1458
1458
[ERROR] failed to select a version for `bad`.
1459
- ... required by package `foo v0.0.1 ([ROOT]/foo)`
1460
- versions that meet the requirements `>=1.0.1, <=2.0.0` are: 2.0.0, 1.0.1
1461
-
1462
- all possible versions conflict with previously selected packages.
1463
-
1464
- previously selected package `bad v2.0.1`
1465
- ... which satisfies dependency `bad = ">=2.0.1"` of package `baz v0.1.0`
1466
- ... which satisfies dependency `baz = "^0.1.0"` of package `foo v0.0.1 ([ROOT]/foo)`
1467
-
1468
- previously selected package `bad v1.0.0`
1469
- ... which satisfies dependency `bad = "=1.0.0"` of package `bar v0.1.0`
1470
- ... which satisfies dependency `bar = "^0.1.0"` of package `foo v0.0.1 ([ROOT]/foo)`
1471
-
1472
- failed to select a version for `bad` which could resolve this conflict
1459
+ ... required by package `foo v0.0.1 ([ROOT]/foo)`
1460
+ versions that meet the requirements `>=1.0.1, <=2.0.0` are: 2.0.0, 1.0.1
1461
+
1462
+ all possible versions conflict with previously selected packages.
1463
+
1464
+ previously selected package `bad v2.0.1`
1465
+ ... which satisfies dependency `bad = ">=2.0.1"` of package `baz v0.1.0`
1466
+ ... which satisfies dependency `baz = "^0.1.0"` of package `foo v0.0.1 ([ROOT]/foo)`
1467
+
1468
+ previously selected package `bad v1.0.0`
1469
+ ... which satisfies dependency `bad = "=1.0.0"` of package `bar v0.1.0`
1470
+ ... which satisfies dependency `bar = "^0.1.0"` of package `foo v0.0.1 ([ROOT]/foo)`
1471
+
1472
+ failed to select a version for `bad` which could resolve this conflict
1473
1473
1474
1474
"# ] ] )
1475
1475
. run ( ) ;
@@ -2093,8 +2093,8 @@ fn self_dependency() {
2093
2093
. with_status ( 101 )
2094
2094
. with_stderr_data ( str![ [ r#"
2095
2095
[ERROR] cyclic package dependency: package `test v0.0.0 ([ROOT]/foo)` depends on itself. Cycle:
2096
- package `test v0.0.0 ([ROOT]/foo)`
2097
- ... which satisfies path dependency `test` of package `test v0.0.0 ([ROOT]/foo)`
2096
+ package `test v0.0.0 ([ROOT]/foo)`
2097
+ ... which satisfies path dependency `test` of package `test v0.0.0 ([ROOT]/foo)`
2098
2098
2099
2099
"# ] ] )
2100
2100
. run ( ) ;
@@ -3099,9 +3099,9 @@ fn cyclic_deps_rejected() {
3099
3099
. with_status ( 101 )
3100
3100
. with_stderr_data ( str![ [ r#"
3101
3101
[ERROR] cyclic package dependency: package `a v0.0.1 ([ROOT]/foo/a)` depends on itself. Cycle:
3102
- package `a v0.0.1 ([ROOT]/foo/a)`
3103
- ... which satisfies path dependency `a` of package `foo v0.0.1 ([ROOT]/foo)`
3104
- ... which satisfies path dependency `foo` of package `a v0.0.1 ([ROOT]/foo/a)`
3102
+ package `a v0.0.1 ([ROOT]/foo/a)`
3103
+ ... which satisfies path dependency `a` of package `foo v0.0.1 ([ROOT]/foo)`
3104
+ ... which satisfies path dependency `foo` of package `a v0.0.1 ([ROOT]/foo/a)`
3105
3105
3106
3106
"# ] ] )
3107
3107
. run ( ) ;
@@ -5369,8 +5369,8 @@ fn avoid_dev_deps() {
5369
5369
. with_stderr_data ( str![ [ r#"
5370
5370
[UPDATING] `dummy-registry` index
5371
5371
[ERROR] no matching package named `baz` found
5372
- location searched: `dummy-registry` index (which is replacing registry `crates-io`)
5373
- required by package `bar v0.1.0 ([ROOT]/foo)`
5372
+ location searched: `dummy-registry` index (which is replacing registry `crates-io`)
5373
+ required by package `bar v0.1.0 ([ROOT]/foo)`
5374
5374
5375
5375
"# ] ] )
5376
5376
. run ( ) ;
@@ -5491,8 +5491,8 @@ fn target_filters_workspace() {
5491
5491
. with_status ( 101 )
5492
5492
. with_stderr_data ( str![ [ r#"
5493
5493
[ERROR] no example target named `ex` in default-run packages
5494
-
5495
- [HELP] a target with a similar name exists: `ex1`
5494
+
5495
+ [HELP] a target with a similar name exists: `ex1`
5496
5496
5497
5497
"# ] ] )
5498
5498
. run ( ) ;
@@ -5501,8 +5501,8 @@ fn target_filters_workspace() {
5501
5501
. with_status ( 101 )
5502
5502
. with_stderr_data ( str![ [ r#"
5503
5503
[ERROR] no example target matches pattern `ex??` in default-run packages
5504
-
5505
- [HELP] a target with a similar name exists: `ex1`
5504
+
5505
+ [HELP] a target with a similar name exists: `ex1`
5506
5506
5507
5507
"# ] ] )
5508
5508
. run ( ) ;
0 commit comments