@@ -842,7 +842,7 @@ fn dev_dependencies2() {
842842 . build ( ) ;
843843 p. cargo ( "check" ) . with_stderr_data ( str![ [ r#"
844844[WARNING] `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition
845- (in the `foo` package)
845+ (in the `foo` package)
846846[LOCKING] 1 package to latest compatible version
847847[CHECKING] foo v0.1.0 ([ROOT]/foo)
848848[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -957,7 +957,7 @@ fn build_dependencies2() {
957957 . build ( ) ;
958958 p. cargo ( "check" ) . with_stderr_data ( str![ [ r#"
959959[WARNING] `build_dependencies` is deprecated in favor of `build-dependencies` and will not work in the 2024 edition
960- (in the `foo` package)
960+ (in the `foo` package)
961961[LOCKING] 1 package to latest compatible version
962962[CHECKING] foo v0.1.0 ([ROOT]/foo)
963963[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -1065,7 +1065,7 @@ fn lib_crate_type2() {
10651065 p. cargo ( "check" )
10661066 . with_stderr_data ( str![ [ r#"
10671067[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1068- (in the `foo` library target)
1068+ (in the `foo` library target)
10691069[CHECKING] foo v0.5.0 ([ROOT]/foo)
10701070[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
10711071
@@ -1156,7 +1156,7 @@ fn bin_crate_type2() {
11561156 p. cargo ( "check" )
11571157 . with_stderr_data ( str![ [ r#"
11581158[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1159- (in the `foo` binary target)
1159+ (in the `foo` binary target)
11601160[CHECKING] foo v0.5.0 ([ROOT]/foo)
11611161[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
11621162
@@ -1265,9 +1265,9 @@ fn examples_crate_type2() {
12651265 p. cargo ( "check" )
12661266 . with_stderr_data ( str![ [ r#"
12671267[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1268- (in the `ex` example target)
1268+ (in the `ex` example target)
12691269[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1270- (in the `goodbye` example target)
1270+ (in the `goodbye` example target)
12711271[CHECKING] foo v0.5.0 ([ROOT]/foo)
12721272[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
12731273
@@ -1404,7 +1404,7 @@ fn cargo_platform_build_dependencies2() {
14041404 p. cargo ( "check" )
14051405 . with_stderr_data ( str![ [ r#"
14061406[WARNING] `build_dependencies` is deprecated in favor of `build-dependencies` and will not work in the 2024 edition
1407- (in the `[HOST_TARGET]` platform target)
1407+ (in the `[HOST_TARGET]` platform target)
14081408[LOCKING] 1 package to latest compatible version
14091409[COMPILING] build v0.5.0 ([ROOT]/foo/build)
14101410[COMPILING] foo v0.5.0 ([ROOT]/foo)
@@ -1535,7 +1535,7 @@ fn cargo_platform_dev_dependencies2() {
15351535 p. cargo ( "check" )
15361536 . with_stderr_data ( str![ [ r#"
15371537[WARNING] `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition
1538- (in the `[HOST_TARGET]` platform target)
1538+ (in the `[HOST_TARGET]` platform target)
15391539[LOCKING] 1 package to latest compatible version
15401540[CHECKING] foo v0.5.0 ([ROOT]/foo)
15411541[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -1664,7 +1664,7 @@ fn default_features2() {
16641664
16651665 p. cargo ( "check" ) . with_stderr_data ( str![ [ r#"
16661666[WARNING] `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
1667- (in the `a` dependency)
1667+ (in the `a` dependency)
16681668[LOCKING] 1 package to latest compatible version
16691669[CHECKING] a v0.1.0 ([ROOT]/foo/a)
16701670[CHECKING] foo v0.1.0 ([ROOT]/foo)
@@ -1839,7 +1839,7 @@ fn workspace_default_features2() {
18391839[CHECKING] workspace_only v0.1.0 ([ROOT]/foo/workspace_only)
18401840[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
18411841[WARNING] [ROOT]/foo/workspace_only/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
1842- (in the `dep_workspace_only` dependency)
1842+ (in the `dep_workspace_only` dependency)
18431843
18441844"# ] ]
18451845 . unordered ( ) ,
@@ -1950,7 +1950,7 @@ fn lib_proc_macro2() {
19501950 foo. cargo ( "check" )
19511951 . with_stderr_data ( str![ [ r#"
19521952[WARNING] `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition
1953- (in the `foo` library target)
1953+ (in the `foo` library target)
19541954[CHECKING] foo v0.1.0 ([ROOT]/foo)
19551955[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
19561956
@@ -2038,7 +2038,7 @@ fn bin_proc_macro2() {
20382038 foo. cargo ( "check" )
20392039 . with_stderr_data ( str![ [ r#"
20402040[WARNING] `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition
2041- (in the `foo` binary target)
2041+ (in the `foo` binary target)
20422042[CHECKING] foo v0.5.0 ([ROOT]/foo)
20432043[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
20442044
@@ -3476,22 +3476,22 @@ fn legacy_binary_paths_warnings() {
34763476 p. cargo ( "check -v" )
34773477 . with_stderr_data ( str![ [ r#"
34783478[WARNING] An explicit [[bin]] section is specified in Cargo.toml which currently
3479- disables Cargo from automatically inferring other binary targets.
3480- This inference behavior will change in the Rust 2018 edition and the following
3481- files will be included as a binary target:
3482-
3483- * src/main.rs
3484-
3485- This is likely to break cargo build or cargo test as these files may not be
3486- ready to be compiled as a binary target today. You can future-proof yourself
3487- and disable this warning by adding `autobins = false` to your [package]
3488- section. You may also move the files to a location where Cargo would not
3489- automatically infer them to be a target, such as in subfolders.
3490-
3491- For more information on this warning you can consult
3492- https://github.com/rust-lang/cargo/issues/5330
3479+ disables Cargo from automatically inferring other binary targets.
3480+ This inference behavior will change in the Rust 2018 edition and the following
3481+ files will be included as a binary target:
3482+
3483+ * src/main.rs
3484+
3485+ This is likely to break cargo build or cargo test as these files may not be
3486+ ready to be compiled as a binary target today. You can future-proof yourself
3487+ and disable this warning by adding `autobins = false` to your [package]
3488+ section. You may also move the files to a location where Cargo would not
3489+ automatically infer them to be a target, such as in subfolders.
3490+
3491+ For more information on this warning you can consult
3492+ https://github.com/rust-lang/cargo/issues/5330
34933493[WARNING] path `src/main.rs` was erroneously implicitly accepted for binary `bar`,
3494- please set bin.path in Cargo.toml
3494+ please set bin.path in Cargo.toml
34953495[CHECKING] foo v1.0.0 ([ROOT]/foo)
34963496[RUNNING] `rustc [..]`
34973497[RUNNING] `rustc [..]`
@@ -3521,22 +3521,22 @@ please set bin.path in Cargo.toml
35213521 p. cargo ( "check -v" )
35223522 . with_stderr_data ( str![ [ r#"
35233523[WARNING] An explicit [[bin]] section is specified in Cargo.toml which currently
3524- disables Cargo from automatically inferring other binary targets.
3525- This inference behavior will change in the Rust 2018 edition and the following
3526- files will be included as a binary target:
3527-
3528- * src/bin/main.rs
3529-
3530- This is likely to break cargo build or cargo test as these files may not be
3531- ready to be compiled as a binary target today. You can future-proof yourself
3532- and disable this warning by adding `autobins = false` to your [package]
3533- section. You may also move the files to a location where Cargo would not
3534- automatically infer them to be a target, such as in subfolders.
3535-
3536- For more information on this warning you can consult
3537- https://github.com/rust-lang/cargo/issues/5330
3524+ disables Cargo from automatically inferring other binary targets.
3525+ This inference behavior will change in the Rust 2018 edition and the following
3526+ files will be included as a binary target:
3527+
3528+ * src/bin/main.rs
3529+
3530+ This is likely to break cargo build or cargo test as these files may not be
3531+ ready to be compiled as a binary target today. You can future-proof yourself
3532+ and disable this warning by adding `autobins = false` to your [package]
3533+ section. You may also move the files to a location where Cargo would not
3534+ automatically infer them to be a target, such as in subfolders.
3535+
3536+ For more information on this warning you can consult
3537+ https://github.com/rust-lang/cargo/issues/5330
35383538[WARNING] path `src/bin/main.rs` was erroneously implicitly accepted for binary `bar`,
3539- please set bin.path in Cargo.toml
3539+ please set bin.path in Cargo.toml
35403540[CHECKING] foo v1.0.0 ([ROOT]/foo)
35413541[RUNNING] `rustc [..]`
35423542[RUNNING] `rustc [..]`
@@ -3565,7 +3565,7 @@ please set bin.path in Cargo.toml
35653565 p. cargo ( "check -v" )
35663566 . with_stderr_data ( str![ [ r#"
35673567[WARNING] path `src/bar.rs` was erroneously implicitly accepted for binary `bar`,
3568- please set bin.path in Cargo.toml
3568+ please set bin.path in Cargo.toml
35693569[CHECKING] foo v1.0.0 ([ROOT]/foo)
35703570[RUNNING] `rustc [..]`
35713571[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
0 commit comments