@@ -839,7 +839,7 @@ fn dev_dependencies2() {
839
839
. build ( ) ;
840
840
p. cargo ( "check" ) . with_stderr_data ( str![ [ r#"
841
841
[WARNING] `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition
842
- (in the `foo` package)
842
+ (in the `foo` package)
843
843
[LOCKING] 1 package to latest compatible version
844
844
[CHECKING] foo v0.1.0 ([ROOT]/foo)
845
845
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -954,7 +954,7 @@ fn build_dependencies2() {
954
954
. build ( ) ;
955
955
p. cargo ( "check" ) . with_stderr_data ( str![ [ r#"
956
956
[WARNING] `build_dependencies` is deprecated in favor of `build-dependencies` and will not work in the 2024 edition
957
- (in the `foo` package)
957
+ (in the `foo` package)
958
958
[LOCKING] 1 package to latest compatible version
959
959
[CHECKING] foo v0.1.0 ([ROOT]/foo)
960
960
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -1062,7 +1062,7 @@ fn lib_crate_type2() {
1062
1062
p. cargo ( "check" )
1063
1063
. with_stderr_data ( str![ [ r#"
1064
1064
[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1065
- (in the `foo` library target)
1065
+ (in the `foo` library target)
1066
1066
[CHECKING] foo v0.5.0 ([ROOT]/foo)
1067
1067
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
1068
1068
@@ -1153,7 +1153,7 @@ fn bin_crate_type2() {
1153
1153
p. cargo ( "check" )
1154
1154
. with_stderr_data ( str![ [ r#"
1155
1155
[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1156
- (in the `foo` binary target)
1156
+ (in the `foo` binary target)
1157
1157
[CHECKING] foo v0.5.0 ([ROOT]/foo)
1158
1158
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
1159
1159
@@ -1262,9 +1262,9 @@ fn examples_crate_type2() {
1262
1262
p. cargo ( "check" )
1263
1263
. with_stderr_data ( str![ [ r#"
1264
1264
[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1265
- (in the `ex` example target)
1265
+ (in the `ex` example target)
1266
1266
[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1267
- (in the `goodbye` example target)
1267
+ (in the `goodbye` example target)
1268
1268
[CHECKING] foo v0.5.0 ([ROOT]/foo)
1269
1269
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
1270
1270
@@ -1401,7 +1401,7 @@ fn cargo_platform_build_dependencies2() {
1401
1401
p. cargo ( "check" )
1402
1402
. with_stderr_data ( str![ [ r#"
1403
1403
[WARNING] `build_dependencies` is deprecated in favor of `build-dependencies` and will not work in the 2024 edition
1404
- (in the `[HOST_TARGET]` platform target)
1404
+ (in the `[HOST_TARGET]` platform target)
1405
1405
[LOCKING] 1 package to latest compatible version
1406
1406
[COMPILING] build v0.5.0 ([ROOT]/foo/build)
1407
1407
[COMPILING] foo v0.5.0 ([ROOT]/foo)
@@ -1532,7 +1532,7 @@ fn cargo_platform_dev_dependencies2() {
1532
1532
p. cargo ( "check" )
1533
1533
. with_stderr_data ( str![ [ r#"
1534
1534
[WARNING] `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition
1535
- (in the `[HOST_TARGET]` platform target)
1535
+ (in the `[HOST_TARGET]` platform target)
1536
1536
[LOCKING] 1 package to latest compatible version
1537
1537
[CHECKING] foo v0.5.0 ([ROOT]/foo)
1538
1538
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -1661,7 +1661,7 @@ fn default_features2() {
1661
1661
1662
1662
p. cargo ( "check" ) . with_stderr_data ( str![ [ r#"
1663
1663
[WARNING] `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
1664
- (in the `a` dependency)
1664
+ (in the `a` dependency)
1665
1665
[LOCKING] 1 package to latest compatible version
1666
1666
[CHECKING] a v0.1.0 ([ROOT]/foo/a)
1667
1667
[CHECKING] foo v0.1.0 ([ROOT]/foo)
@@ -1836,7 +1836,7 @@ fn workspace_default_features2() {
1836
1836
[CHECKING] workspace_only v0.1.0 ([ROOT]/foo/workspace_only)
1837
1837
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
1838
1838
[WARNING] [ROOT]/foo/workspace_only/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
1839
- (in the `dep_workspace_only` dependency)
1839
+ (in the `dep_workspace_only` dependency)
1840
1840
1841
1841
"# ] ]
1842
1842
. unordered ( ) ,
@@ -1947,7 +1947,7 @@ fn lib_proc_macro2() {
1947
1947
foo. cargo ( "check" )
1948
1948
. with_stderr_data ( str![ [ r#"
1949
1949
[WARNING] `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition
1950
- (in the `foo` library target)
1950
+ (in the `foo` library target)
1951
1951
[CHECKING] foo v0.1.0 ([ROOT]/foo)
1952
1952
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
1953
1953
@@ -2035,7 +2035,7 @@ fn bin_proc_macro2() {
2035
2035
foo. cargo ( "check" )
2036
2036
. with_stderr_data ( str![ [ r#"
2037
2037
[WARNING] `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition
2038
- (in the `foo` binary target)
2038
+ (in the `foo` binary target)
2039
2039
[CHECKING] foo v0.5.0 ([ROOT]/foo)
2040
2040
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
2041
2041
@@ -3473,22 +3473,22 @@ fn legacy_binary_paths_warnings() {
3473
3473
p. cargo ( "check -v" )
3474
3474
. with_stderr_data ( str![ [ r#"
3475
3475
[WARNING] An explicit [[bin]] section is specified in Cargo.toml which currently
3476
- disables Cargo from automatically inferring other binary targets.
3477
- This inference behavior will change in the Rust 2018 edition and the following
3478
- files will be included as a binary target:
3479
-
3480
- * src/main.rs
3481
-
3482
- This is likely to break cargo build or cargo test as these files may not be
3483
- ready to be compiled as a binary target today. You can future-proof yourself
3484
- and disable this warning by adding `autobins = false` to your [package]
3485
- section. You may also move the files to a location where Cargo would not
3486
- automatically infer them to be a target, such as in subfolders.
3487
-
3488
- For more information on this warning you can consult
3489
- https://github.com/rust-lang/cargo/issues/5330
3476
+ disables Cargo from automatically inferring other binary targets.
3477
+ This inference behavior will change in the Rust 2018 edition and the following
3478
+ files will be included as a binary target:
3479
+
3480
+ * src/main.rs
3481
+
3482
+ This is likely to break cargo build or cargo test as these files may not be
3483
+ ready to be compiled as a binary target today. You can future-proof yourself
3484
+ and disable this warning by adding `autobins = false` to your [package]
3485
+ section. You may also move the files to a location where Cargo would not
3486
+ automatically infer them to be a target, such as in subfolders.
3487
+
3488
+ For more information on this warning you can consult
3489
+ https://github.com/rust-lang/cargo/issues/5330
3490
3490
[WARNING] path `src/main.rs` was erroneously implicitly accepted for binary `bar`,
3491
- please set bin.path in Cargo.toml
3491
+ please set bin.path in Cargo.toml
3492
3492
[CHECKING] foo v1.0.0 ([ROOT]/foo)
3493
3493
[RUNNING] `rustc [..]`
3494
3494
[RUNNING] `rustc [..]`
@@ -3518,22 +3518,22 @@ please set bin.path in Cargo.toml
3518
3518
p. cargo ( "check -v" )
3519
3519
. with_stderr_data ( str![ [ r#"
3520
3520
[WARNING] An explicit [[bin]] section is specified in Cargo.toml which currently
3521
- disables Cargo from automatically inferring other binary targets.
3522
- This inference behavior will change in the Rust 2018 edition and the following
3523
- files will be included as a binary target:
3524
-
3525
- * src/bin/main.rs
3526
-
3527
- This is likely to break cargo build or cargo test as these files may not be
3528
- ready to be compiled as a binary target today. You can future-proof yourself
3529
- and disable this warning by adding `autobins = false` to your [package]
3530
- section. You may also move the files to a location where Cargo would not
3531
- automatically infer them to be a target, such as in subfolders.
3532
-
3533
- For more information on this warning you can consult
3534
- https://github.com/rust-lang/cargo/issues/5330
3521
+ disables Cargo from automatically inferring other binary targets.
3522
+ This inference behavior will change in the Rust 2018 edition and the following
3523
+ files will be included as a binary target:
3524
+
3525
+ * src/bin/main.rs
3526
+
3527
+ This is likely to break cargo build or cargo test as these files may not be
3528
+ ready to be compiled as a binary target today. You can future-proof yourself
3529
+ and disable this warning by adding `autobins = false` to your [package]
3530
+ section. You may also move the files to a location where Cargo would not
3531
+ automatically infer them to be a target, such as in subfolders.
3532
+
3533
+ For more information on this warning you can consult
3534
+ https://github.com/rust-lang/cargo/issues/5330
3535
3535
[WARNING] path `src/bin/main.rs` was erroneously implicitly accepted for binary `bar`,
3536
- please set bin.path in Cargo.toml
3536
+ please set bin.path in Cargo.toml
3537
3537
[CHECKING] foo v1.0.0 ([ROOT]/foo)
3538
3538
[RUNNING] `rustc [..]`
3539
3539
[RUNNING] `rustc [..]`
@@ -3562,7 +3562,7 @@ please set bin.path in Cargo.toml
3562
3562
p. cargo ( "check -v" )
3563
3563
. with_stderr_data ( str![ [ r#"
3564
3564
[WARNING] path `src/bar.rs` was erroneously implicitly accepted for binary `bar`,
3565
- please set bin.path in Cargo.toml
3565
+ please set bin.path in Cargo.toml
3566
3566
[CHECKING] foo v1.0.0 ([ROOT]/foo)
3567
3567
[RUNNING] `rustc [..]`
3568
3568
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
0 commit comments